%= link_to h(@added_to), @added_to_url %>
<% @attachments.each do |attachment | %>
-
<%= link_to attachment.author, user_activities_url(attachment.author),
:style => "color:#1B55A7; float:left;display:block; margin-right:5px; overflow:hidden; white-space: nowrap; text-overflow:ellipsis;"%>
<%= l(:label_project_mail_upload) %>
<%= link_to truncate(attachment.filename,length: 30,omission: '...'), project_files_url(attachment.project),
:style => "color:#1B55A7;float:left; font-weight:normal;margin-right:5px; display:block;overflow:hidden; white-space: nowrap; text-overflow:ellipsis;"
%>
<% end %>