2013-08-01 10:33:49 +08:00
|
|
|
<%= link_to h(@added_to), @added_to_url %><br />
|
|
|
|
|
2015-06-16 15:36:03 +08:00
|
|
|
<ul>
|
|
|
|
<% @attachments.each do |attachment | %>
|
|
|
|
<li>
|
|
|
|
<%= 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;"%>
|
|
|
|
<span class="wmail_txt" style="float:left; margin-right:5px;color:#ACAEB1;"><%= l(:label_project_mail_upload) %></span>
|
|
|
|
<%= 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;"
|
|
|
|
%>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
|
|
|
</ul>
|