|
|
|
@ -19,7 +19,8 @@
|
|
|
|
|
<%= sort_header_tag('filename', :caption => l(:field_filename)) %>
|
|
|
|
|
<%= sort_header_tag('created_on', :caption => l(:label_date), :default_order => 'desc') %>
|
|
|
|
|
<%= sort_header_tag('size', :caption => l(:field_filesize), :default_order => 'desc') %>
|
|
|
|
|
<!-- <%= sort_header_tag('downloads', :caption => l(:label_downloads_abbr), :default_order => 'desc') %> -->
|
|
|
|
|
<%#= sort_header_tag('downloads', :caption => l(:label_downloads_abbr), :default_order => 'desc') %>
|
|
|
|
|
<%= sort_header_tag('downloads', :caption => l(:field_downloads), :default_order => 'desc') %>
|
|
|
|
|
<th> <%= sort_header_tag('description', :caption => l(:field_description)) %></th>
|
|
|
|
|
<th></th>
|
|
|
|
|
</tr></thead>
|
|
|
|
@ -38,7 +39,7 @@
|
|
|
|
|
<td class="filename"><%= link_to_attachment file, :download => true, :title => file.description %></td>
|
|
|
|
|
<td class="created_on"><%= format_time(file.created_on) %></td>
|
|
|
|
|
<td class="filesize"><%= number_to_human_size(file.filesize) %></td>
|
|
|
|
|
<!-- <td class="downloads"><%= file.downloads %></td> -->
|
|
|
|
|
<td class="downloads"><%= file.downloads %></td>
|
|
|
|
|
<td class="digest" width="300px"><%= file.description %></td>
|
|
|
|
|
<td align="center">
|
|
|
|
|
<%= link_to(image_tag('delete.png'), attachment_path(file),
|
|
|
|
|