diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-01-31 21:18:43 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-01-31 21:18:43 +0000 |
commit | fa688d48e673abfa8711beb69995aaf3d41069d1 (patch) | |
tree | b86c5494839673b615cb2d99aac8a861067fd10d /app/views/trackers/list.rhtml | |
parent | 671a0fa10161ead2ec0fef888710cf7d872b2f61 (diff) | |
download | redmine-fa688d48e673abfa8711beb69995aaf3d41069d1.tar.gz redmine-fa688d48e673abfa8711beb69995aaf3d41069d1.zip |
added the ability to set the sort order for trackers
git-svn-id: http://redmine.rubyforge.org/svn/trunk@209 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, 7 insertions, 0 deletions
diff --git a/app/views/trackers/list.rhtml b/app/views/trackers/list.rhtml index 644b1324e..a12e50845 100644 --- a/app/views/trackers/list.rhtml +++ b/app/views/trackers/list.rhtml @@ -7,6 +7,7 @@ <table class="list"> <thead><tr> <th><%=l(:label_tracker)%></th>
+ <th><%=l(:button_sort)%></th> <th></th> </tr></thead> <tbody> @@ -14,6 +15,12 @@ <tr class="<%= cycle("odd", "even") %>"> <td><%= link_to tracker.name, :action => 'edit', :id => tracker %></td> <td align="center"> + <%= 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"> <%= button_to l(:button_delete), { :action => 'destroy', :id => tracker }, :confirm => l(:text_are_you_sure), :class => "button-small" %>
</td> </tr> |