共有 <%= link_to @bug_count %> 个安全贴子
<% if @bugs.any? %> <% @bugs.each do |bug| %> <% topic = bug.bug %>
<%= 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(bug.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(100) %>
<%= user_url_and_time topic.username, topic.userhomeurl, topic.created_at %>
帖子来源:<%=link_to topic.topic_resource, topic.url, :target => '_blank' %>
<% end %> <% else %>

<%= l(:label_no_data) %>

<% end %>
<%#= render :partial => 'open_source_projects/show_memo', :locals => {:memos => @memos, :open_source_project => @open_source_project} %>