@@ -25,15 +25,13 | |||
|
25 | 25 | <td></td> |
|
26 | 26 | <td><%= link_to(file.filename, {:controller => 'versions', :action => 'download', :id => version, :attachment_id => file}, |
|
27 | 27 | :title => file.description) %></td> |
|
28 |
<td align="center"><%= format_ |
|
|
28 | <td align="center"><%= format_time(file.created_on) %></td> | |
|
29 | 29 | <td align="center"><%= number_to_human_size(file.filesize) %></td> |
|
30 | 30 | <td align="center"><%= file.downloads %></td> |
|
31 | 31 | <td align="center"><small><%= file.digest %></small></td> |
|
32 | 32 | <% if delete_allowed %> |
|
33 | 33 | <td align="center"> |
|
34 | <div class="contextual"> | |
|
35 | 34 | <%= link_to_if_authorized image_tag('delete.png'), {:controller => 'versions', :action => 'destroy_file', :id => version, :attachment_id => file}, :confirm => l(:text_are_you_sure), :method => :post %> |
|
36 | </div> | |
|
37 | 35 | </td> |
|
38 | 36 | <% end %> |
|
39 | 37 | </tr> |
General Comments 0
You need to be logged in to leave comments.
Login now