summaryrefslogtreecommitdiffstats
path: root/app/views/issue_statuses
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-09-12 09:25:39 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-09-12 09:25:39 +0000
commit7f4635022f7dab0fb755868a99a0db6a3e45ec81 (patch)
tree951c846844a3114733ace331f5813355e7b3868f /app/views/issue_statuses
parentede9960444ed7c93e1561f004ee8682a0458f295 (diff)
downloadredmine-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/issue_statuses')
-rw-r--r--app/views/issue_statuses/list.rhtml7
1 files changed, 5 insertions, 2 deletions
diff --git a/app/views/issue_statuses/list.rhtml b/app/views/issue_statuses/list.rhtml
index fd4e3e8b2..ca973153d 100644
--- a/app/views/issue_statuses/list.rhtml
+++ b/app/views/issue_statuses/list.rhtml
@@ -19,8 +19,11 @@
<td align="center"><%= image_tag 'true.png' if status.is_default? %></td>
<td align="center"><%= image_tag 'true.png' if status.is_closed? %></td>
<td align="center" style="width:15%;"><%= reorder_links('issue_status', {:action => 'update', :id => status}) %></td>
- <td align="center" style="width:10%;">
- <%= button_to l(:button_delete), { :action => 'destroy', :id => status }, :confirm => l(:text_are_you_sure), :class => "button-small" %>
+ <td class="buttons">
+ <%= link_to(l(:button_delete), { :action => 'destroy', :id => status },
+ :method => :post,
+ :confirm => l(:text_are_you_sure),
+ :class => 'icon icon-del') %>
</td>
</tr>
<% end %>