From 5d890dc9a90325a1ee9a272a592c4b6b75619f3c Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Tue, 28 Nov 2017 02:33:00 +0000 Subject: [PATCH] Use new pagination style in gantt (#26671). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17048 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/gantts/show.html.erb | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/app/views/gantts/show.html.erb b/app/views/gantts/show.html.erb index 3aece3fd0..6e5651fae 100644 --- a/app/views/gantts/show.html.erb +++ b/app/views/gantts/show.html.erb @@ -337,20 +337,19 @@ - - - - - -
- <%= link_to("\xc2\xab " + l(:label_previous), - {:params => request.query_parameters.merge(@gantt.params_previous)}, - :accesskey => accesskey(:previous)) %> - - <%= link_to(l(:label_next) + " \xc2\xbb", - {:params => request.query_parameters.merge(@gantt.params_next)}, - :accesskey => accesskey(:next)) %> -
+ + + <% other_formats_links do |f| %> <%= f.link_to_with_query_parameters 'PDF', @gantt.params %>