summaryrefslogtreecommitdiffstats
path: root/app/views/gantts/show.html.erb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-08-04 09:42:58 +0000
committerGo MAEDA <maeda@farend.jp>2019-08-04 09:42:58 +0000
commitbe8372e7ccfb0c2cb63a238bb6c34d6e8cdbc839 (patch)
tree79ba73ea53327c98b170a19ab8ae5a04e0a9c657 /app/views/gantts/show.html.erb
parent10ae000021d20b737b6a3c4b09167c0db26511ac (diff)
downloadredmine-be8372e7ccfb0c2cb63a238bb6c34d6e8cdbc839.tar.gz
redmine-be8372e7ccfb0c2cb63a238bb6c34d6e8cdbc839.zip
Previous and next month links in gantt (#31373).
Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@18346 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/gantts/show.html.erb')
-rw-r--r--app/views/gantts/show.html.erb9
1 files changed, 7 insertions, 2 deletions
diff --git a/app/views/gantts/show.html.erb b/app/views/gantts/show.html.erb
index 00dd2c230..348d04b69 100644
--- a/app/views/gantts/show.html.erb
+++ b/app/views/gantts/show.html.erb
@@ -70,8 +70,13 @@
</div>
<p class="contextual">
- <%= gantt_zoom_link(@gantt, :in) %>
- <%= gantt_zoom_link(@gantt, :out) %>
+ <span>
+ <%= gantt_zoom_link(@gantt, :in) %>
+ <%= gantt_zoom_link(@gantt, :out) %>
+ </span>
+ <span>
+ <%= link_to_previous_month(@gantt.year_from, @gantt.month_from, :accesskey => accesskey(:previous)) %> | <%= link_to_next_month(@gantt.year_from, @gantt.month_from, :accesskey => accesskey(:next)) %>
+ </span>
</p>
<p class="buttons">