<%=l(:field_version)%> | <%=l(:field_filename)%> | <%=l(:label_date)%> | <%=l(:field_filesize)%> | D/L | MD5 | <% if delete_allowed %><% end %> |
---|---|---|---|---|---|---|
<%= version.name %> | ||||||
<%= link_to file.filename, :controller => 'versions', :action => 'download', :id => version, :attachment_id => file %> | <%= format_date(file.created_on) %> | <%= number_to_human_size(file.filesize) %> | <%= file.downloads %> | <%= file.digest %> | <% if delete_allowed %>
<%= link_to_if_authorized '', {:controller => 'versions', :action => 'destroy_file', :id => version, :attachment_id => file}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %>
|
<% end %>