diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-02-26 09:21:41 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-02-26 09:21:41 +0000 |
commit | 589320337db0a242f8adb2150996f6d038aaf9ad (patch) | |
tree | fcbea3b4fc98b50d44932e7fee3bc1ad0d3059a8 /app/views/trackers/list.rhtml | |
parent | 46f52d306dc475022c8544772d2bdd21501e115d (diff) | |
download | redmine-589320337db0a242f8adb2150996f6d038aaf9ad.tar.gz redmine-589320337db0a242f8adb2150996f6d038aaf9ad.zip |
Trackers controller refactoring.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2526 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/trackers/list.rhtml')
-rw-r--r-- | app/views/trackers/list.rhtml | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/app/views/trackers/list.rhtml b/app/views/trackers/list.rhtml index 2531f334b..06eaf7105 100644 --- a/app/views/trackers/list.rhtml +++ b/app/views/trackers/list.rhtml @@ -16,12 +16,7 @@ <tr class="<%= cycle("odd", "even") %>"> <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%;"> - <%= link_to image_tag('2uparrow.png', :alt => l(:label_sort_highest)), {:action => 'move', :id => tracker, :position => 'highest'}, :method => :post, :title => l(:label_sort_highest) %> - <%= link_to image_tag('1uparrow.png', :alt => l(:label_sort_higher)), {:action => 'move', :id => tracker, :position => 'higher'}, :method => :post, :title => l(:label_sort_higher) %> - - <%= link_to image_tag('1downarrow.png', :alt => l(:label_sort_lower)), {:action => 'move', :id => tracker, :position => 'lower'}, :method => :post, :title => l(:label_sort_lower) %> - <%= link_to image_tag('2downarrow.png', :alt => l(:label_sort_lowest)), {:action => 'move', :id => tracker, :position => 'lowest'}, :method => :post, :title => l(:label_sort_lowest) %> - </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> |