diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-09-12 09:25:39 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-09-12 09:25:39 +0000 |
commit | 7f4635022f7dab0fb755868a99a0db6a3e45ec81 (patch) | |
tree | 951c846844a3114733ace331f5813355e7b3868f /app/views/trackers | |
parent | ede9960444ed7c93e1561f004ee8682a0458f295 (diff) | |
download | redmine-7f4635022f7dab0fb755868a99a0db6a3e45ec81.tar.gz redmine-7f4635022f7dab0fb755868a99a0db6a3e45ec81.zip |
Makes 'delete links' the same on admin views.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2872 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/trackers')
-rw-r--r-- | app/views/trackers/list.rhtml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/views/trackers/list.rhtml b/app/views/trackers/list.rhtml index 06eaf7105..ab6eba575 100644 --- a/app/views/trackers/list.rhtml +++ b/app/views/trackers/list.rhtml @@ -17,8 +17,11 @@ <td><%= link_to tracker.name, :action => 'edit', :id => tracker %></td> <td align="center"><% unless tracker.workflows.count > 0 %><span class="icon icon-warning"><%= l(:text_tracker_no_workflow) %> (<%= link_to l(:button_edit), {:controller => 'workflows', :action => 'edit', :tracker_id => tracker} %>)</span><% end %></td> <td align="center" style="width:15%;"><%= reorder_links('tracker', {:action => 'edit', :id => tracker}) %></td> - <td align="center" style="width:10%;"> - <%= button_to l(:button_delete), { :action => 'destroy', :id => tracker }, :confirm => l(:text_are_you_sure), :class => "button-small" %> + <td class="buttons"> + <%= link_to(l(:button_delete), { :action => 'destroy', :id => tracker }, + :method => :post, + :confirm => l(:text_are_you_sure), + :class => 'icon icon-del') %> </td> </tr> <% end %> |