OSDN Git Service

Fixed: trash icon not visible on files list.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 2 Jul 2007 15:32:42 +0000 (15:32 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 2 Jul 2007 15:32:42 +0000 (15:32 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@580 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/projects/list_files.rhtml

index 288afae..0e4f19d 100644 (file)
@@ -31,7 +31,7 @@
     <% if delete_allowed %>
     <td align="center">
         <div class="contextual">
-        <%= 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' %>
+        <%= 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 %>
         </div>
     </td>
     <% end %>