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

This commit is contained in:
cxt 2015-08-31 14:13:17 +08:00
parent 96021bee73
commit fedc125731
1 changed files with 1 additions and 1 deletions

View File

@ -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'),