diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-04-17 07:40:39 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-04-17 07:40:39 +0000 |
commit | 42b5c332b2c24c8dcc2581e0cd130ef930959d99 (patch) | |
tree | 3ddade3fa50427138419d48c57b20d93ac960048 /app/views/trackers/index.html.erb | |
parent | 64afa24a7f72526a2cbf6761e51b6cd326aa0c36 (diff) | |
download | redmine-42b5c332b2c24c8dcc2581e0cd130ef930959d99.tar.gz redmine-42b5c332b2c24c8dcc2581e0cd130ef930959d99.zip |
Lists can be reordered with drag and drop (#12909).
git-svn-id: http://svn.redmine.org/redmine/trunk@15336 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/trackers/index.html.erb')
-rw-r--r-- | app/views/trackers/index.html.erb | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/app/views/trackers/index.html.erb b/app/views/trackers/index.html.erb index 9dd253ecc..5f40cf0ee 100644 --- a/app/views/trackers/index.html.erb +++ b/app/views/trackers/index.html.erb @@ -5,11 +5,10 @@ <h2><%=l(:label_tracker_plural)%></h2> -<table class="list"> +<table class="list trackers"> <thead><tr> <th><%=l(:label_tracker)%></th> <th></th> - <th><%=l(:button_sort)%></th> <th></th> </tr></thead> <tbody> @@ -23,10 +22,8 @@ </span> <% end %> </td> - <td class="reorder"> - <%= reorder_links('tracker', {:action => 'update', :id => tracker, :page => params[:page]}, :put) %> - </td> <td class="buttons"> + <%= reorder_handle(tracker) %> <%= delete_link tracker_path(tracker) %> </td> </tr> @@ -35,3 +32,7 @@ </table> <% html_title(l(:label_tracker_plural)) -%> + +<%= javascript_tag do %> + $(function() { $("table.trackers tbody").positionedItems(); }); +<% end %> |