% if activity.attachments.any? %>
<% activity.attachments.each do |attachment| %>
<%= link_to_short_attachment attachment,:length=> 58, :class => 'hidden link_file_a fl newsBlue mw400', :download => true -%>
(
<%= number_to_human_size attachment.filesize %>)
<%= link_to h(truncate(attachment.author.name, length: 10, omission: '...')),user_path(attachment.author),:class => "c_orange" %>,
<%= format_time(attachment.created_on) %>
<% end %>
<% end %>