mirror of
https://github.com/redmine/redmine.git
synced 2026-07-28 20:59:51 +02:00
Merged r13852 and r13853 (#18769).
git-svn-id: http://svn.redmine.org/redmine/branches/2.6-stable@13866 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -56,7 +56,7 @@ class IssueStatusesController < ApplicationController
|
||||
@issue_status = IssueStatus.find(params[:id])
|
||||
if @issue_status.update_attributes(params[:issue_status])
|
||||
flash[:notice] = l(:notice_successful_update)
|
||||
redirect_to issue_statuses_path
|
||||
redirect_to issue_statuses_path(:page => params[:page])
|
||||
else
|
||||
render :action => 'edit'
|
||||
end
|
||||
|
||||
@@ -71,7 +71,7 @@ class RolesController < ApplicationController
|
||||
def update
|
||||
if request.put? and @role.update_attributes(params[:role])
|
||||
flash[:notice] = l(:notice_successful_update)
|
||||
redirect_to roles_path
|
||||
redirect_to roles_path(:page => params[:page])
|
||||
else
|
||||
render :action => 'edit'
|
||||
end
|
||||
|
||||
@@ -64,7 +64,7 @@ class TrackersController < ApplicationController
|
||||
@tracker = Tracker.find(params[:id])
|
||||
if @tracker.update_attributes(params[:tracker])
|
||||
flash[:notice] = l(:notice_successful_update)
|
||||
redirect_to trackers_path
|
||||
redirect_to trackers_path(:page => params[:page])
|
||||
return
|
||||
end
|
||||
edit
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
<% end %>
|
||||
<td><%= checked_image status.is_default? %></td>
|
||||
<td><%= checked_image status.is_closed? %></td>
|
||||
<td class="reorder"><%= reorder_links('issue_status', {:action => 'update', :id => status}, :put) %></td>
|
||||
<td class="reorder"><%= reorder_links('issue_status', {:action => 'update', :id => status, :page => params[:page]}, :put) %></td>
|
||||
<td class="buttons">
|
||||
<%= delete_link issue_status_path(status) %>
|
||||
</td>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<td class="name"><%= content_tag(role.builtin? ? 'em' : 'span', link_to(h(role.name), edit_role_path(role))) %></td>
|
||||
<td class="reorder">
|
||||
<% unless role.builtin? %>
|
||||
<%= reorder_links('role', {:action => 'update', :id => role}, :put) %>
|
||||
<%= reorder_links('role', {:action => 'update', :id => role, :page => params[:page]}, :put) %>
|
||||
<% end %>
|
||||
</td>
|
||||
<td class="buttons">
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
<% end %>
|
||||
</td>
|
||||
<td class="reorder">
|
||||
<%= reorder_links('tracker', {:action => 'update', :id => tracker}, :put) %>
|
||||
<%= reorder_links('tracker', {:action => 'update', :id => tracker, :page => params[:page]}, :put) %>
|
||||
</td>
|
||||
<td class="buttons">
|
||||
<%= delete_link tracker_path(tracker) %>
|
||||
|
||||
Reference in New Issue
Block a user