<% unless activity.author.nil? %>
<% if activity.status_id.to_i == 5 %> <% else %> <% end %>
<%# if activity.try(:author).try(:realname) == ' ' %> <%#= link_to activity.try(:author), user_path(activity.author_id), :class => "fl issues_list_name" %> <%# else %> <%#= link_to activity.try(:author).try(:realname), user_path(activity.author_id), :class => "fl issues_list_name" %> <%# end %>

<%= format_time(activity.created_on) %> 发布

<%= format_time(activity.updated_on) %> 更新

<% end %>