Sha256: 98f684341e91095426b33ca0203c1dda9f7d758e2a63d48ca15454efcb145481
Contents?: true
Size: 467 Bytes
Versions: 5
Compression:
Stored size: 467 Bytes
Contents
<div class='file <%= dom_id(file) %>'> <% file_name = file.file_file_name file_ext = file.file_file_name.split('.').last if (file_name.size - file_ext.size) > 30 file_name = file_name.truncate(30) + file_ext end %> <%= link_to file_name, file.file.url, :target => '_blank', :class => 'filename' %> <%= link_to span_tag('x'), cms_admin_site_file_path(@site, file), :method => :delete, :remote => true, :class => 'delete' %> </div>
Version data entries
5 entries across 5 versions & 1 rubygems