附件名称在可用的范围内尽可能显示全

Branch_szzh
cxt 10 years ago
parent 96021bee73
commit fedc125731

@ -34,7 +34,7 @@
<% activity.attachments.each do |attachment| %>
<div class="break_word">
<span title="<%= attachment.filename %>" id="attachment_">
<%= link_to_short_attachment attachment, :class => 'homepagePostFileAtt newsBlue', :download => true -%>
<%= link_to_short_attachment attachment,:length=> 58, :class => 'homepagePostFileAtt newsBlue', :download => true -%>
</span>
<% if attachment.is_text? %>
<%= link_to image_tag('magnifier.png'),

Loading…
Cancel
Save