<%= link_to image_tag(url_to_avatar(topic.author), :class => "avatar"), user_path(topic.author) if topic.author%>
<%= image_tag('../images/avatars/User/0', :class => "avatar") unless topic.author%> |
<% if topic.url.nil? || topic.url == '' %>
<%= link_to h(topic.subject), open_source_project_relative_memo_path(open_source_project, topic) %>
<% else %>
<%= link_to h(topic.subject), topic.url, :target => '_blank' %>
<% end %> |
<%= link_to (topic.replies_count), topic.url, :target => '_blank' %> |
回帖 |
|
<%= link_to (topic.viewed_count_crawl+topic.viewed_count_local), topic.url, :target => '_blank' %> |
关注 |
|
<%= link_to (topic.viewed_count_crawl+topic.viewed_count_local), topic.url, :target => '_blank' %> |
浏览 |
|
<%= topic.short_content(70) %> |
<%= user_url_and_time topic.username, topic.userhomeurl, topic.created_at %>
|
帖子来源:<%=link_to topic.topic_resource, topic.url, :target => '_blank' %>
|
<%= no_use_link(topic, User.current) %> |
|