附件名称在可用的范围内尽可能显示全
This commit is contained in:
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…
Reference in New Issue