文件名称尽可能的显示完全

This commit is contained in:
lizanle 2015-09-28 14:20:23 +08:00
parent 5e0ae3a6bb
commit 4e7b0c5bdf
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@
<div class="cl"></div>
<% else %>
<span class="pic_files fl "></span>
<%= link_to_short_attachment attachment, :class => 'fl FilesName02', :download => true, :length => 32 -%>
<%= link_to_short_attachment attachment, :class => 'fl FilesName02', :download => true, :length => 80 -%>
<a href="javascript:void(0);" class="fl FilesName02"> (<%= number_to_human_size attachment.filesize , :precision => 0 %>)</a>
<% if options[:deletable] %>
<%#= link_to image_tag('delete.png'), attachment_path(attachment),