diff app/views/files/index.html.erb @ 1464:261b3d9a4903 redmine-2.4

Update to Redmine 2.4 branch rev 12663
author Chris Cannam
date Tue, 14 Jan 2014 14:37:42 +0000
parents 433d4f72a19b
children 51364c0cd58f
line wrap: on
line diff
--- a/app/views/files/index.html.erb	Fri Jun 14 09:05:06 2013 +0100
+++ b/app/views/files/index.html.erb	Tue Jan 14 14:37:42 2014 +0000
@@ -20,7 +20,7 @@
   <% next if container.attachments.empty? -%>
   <% if container.is_a?(Version) -%>
   <tr>
-    <th colspan="6" align="left">
+    <th colspan="6">
       <%= link_to(h(container), {:controller => 'versions', :action => 'show', :id => container}, :class => "icon icon-package") %>
     </th>
   </tr>
@@ -32,7 +32,7 @@
     <td class="filesize"><%= number_to_human_size(file.filesize) %></td>
     <td class="downloads"><%= file.downloads %></td>
     <td class="digest"><%= file.digest %></td>
-    <td align="center">
+    <td class="buttons">
     <%= link_to(image_tag('delete.png'), attachment_path(file),
                                          :data => {:confirm => l(:text_are_you_sure)}, :method => :delete) if delete_allowed %>
     </td>