|
|
@ -1,7 +1,7 @@
|
|
|
|
<div class="attachments" style="font-weight:normal;">
|
|
|
|
<div class="attachments" style="font-weight:normal;">
|
|
|
|
<% for attachment in attachments %>
|
|
|
|
<% for attachment in attachments %>
|
|
|
|
<p style="width: 100%;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">
|
|
|
|
<p style="width: 100%;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">
|
|
|
|
<span title="<%= attachment.filename%>" id = "attachment_"">
|
|
|
|
<span title="<%= attachment.filename%>" id = "attachment_">
|
|
|
|
<% if options[:length] %>
|
|
|
|
<% if options[:length] %>
|
|
|
|
<%= link_to_short_attachment attachment, :class => 'icon icon-attachment', :download => true,:length => options[:length] -%>
|
|
|
|
<%= link_to_short_attachment attachment, :class => 'icon icon-attachment', :download => true,:length => options[:length] -%>
|
|
|
|
<% else %>
|
|
|
|
<% else %>
|
|
|
|