summaryrefslogtreecommitdiffstats
path: root/app/views/roles
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-03-01 12:03:48 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-03-01 12:03:48 +0000
commit47f5713b1e1cbe636582fd3f59fadc10dd8491a1 (patch)
tree1445d5a47586270596067bbbf53ff409f6078758 /app/views/roles
parent56bdcf407f898067d5bef188e5df5ad273000e5c (diff)
downloadredmine-47f5713b1e1cbe636582fd3f59fadc10dd8491a1.tar.gz
redmine-47f5713b1e1cbe636582fd3f59fadc10dd8491a1.zip
Reorder links refactoring (follows r2526).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2546 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/roles')
-rw-r--r--app/views/roles/list.rhtml5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/views/roles/list.rhtml b/app/views/roles/list.rhtml
index 93b821387..32ff7160c 100644
--- a/app/views/roles/list.rhtml
+++ b/app/views/roles/list.rhtml
@@ -16,10 +16,7 @@
<td><%= content_tag(role.builtin? ? 'em' : 'span', link_to(role.name, :action => 'edit', :id => role)) %></td>
<td align="center" style="width:15%;">
<% unless role.builtin? %>
- <%= link_to image_tag('2uparrow.png', :alt => l(:label_sort_highest)), {:action => 'move', :id => role, :position => 'highest'}, :method => :post, :title => l(:label_sort_highest) %>
- <%= link_to image_tag('1uparrow.png', :alt => l(:label_sort_higher)), {:action => 'move', :id => role, :position => 'higher'}, :method => :post, :title => l(:label_sort_higher) %> -
- <%= link_to image_tag('1downarrow.png', :alt => l(:label_sort_lower)), {:action => 'move', :id => role, :position => 'lower'}, :method => :post, :title => l(:label_sort_lower) %>
- <%= link_to image_tag('2downarrow.png', :alt => l(:label_sort_lowest)), {:action => 'move', :id => role, :position => 'lowest'}, :method => :post, :title => l(:label_sort_lowest) %>
+ <%= reorder_links('role', {:action => 'edit', :id => role}) %>
<% end %>
</td>
<td align="center" style="width:10%;">