% if activity.attachments.any? %>
<% activity.attachments.each do |attachment| %>
<%= link_to_short_attachment attachment,:length=> 58, :class => 'hidden link_file_a fl newsBlue mw380', :download => true %>
(
<%= number_to_human_size attachment.filesize %>)
<% user_name = attachment.author.show_name.empty? ? attachment.author : attachment.author.show_name %>
<%= link_to h(truncate(user_name, length: 15, omission: '...')),user_path(attachment.author),:class => "linkBlue2" %>,
<%= format_time(attachment.created_on) %>
<% end %>
<% end %>