diff options
author | Go MAEDA <maeda@farend.jp> | 2023-05-07 00:18:33 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2023-05-07 00:18:33 +0000 |
commit | 006c6a4e01f7cd5ed179d1010e4507be79847927 (patch) | |
tree | 532167669f0e6513f21aa7dd08643a6bfb285f74 /app | |
parent | f41f18be45bcb364ede2ecea9cfcb08ce6cdbe3d (diff) | |
download | redmine-006c6a4e01f7cd5ed179d1010e4507be79847927.tar.gz redmine-006c6a4e01f7cd5ed179d1010e4507be79847927.zip |
Use the new pagination style for the calendars view (#27346).
Patch by Bernhard Rohloff.
git-svn-id: https://svn.redmine.org/redmine/trunk@22235 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/views/calendars/show.html.erb | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/app/views/calendars/show.html.erb b/app/views/calendars/show.html.erb index 76513f50e..d3d00a427 100644 --- a/app/views/calendars/show.html.erb +++ b/app/views/calendars/show.html.erb @@ -15,9 +15,15 @@ </fieldset> </div> -<p class="contextual"> - <%= link_to_previous_month(@year, @month, :accesskey => accesskey(:previous)) %> | <%= link_to_next_month(@year, @month, :accesskey => accesskey(:next)) %> -</p> +<span class="contextual pagination"> + <ul class="pages"> + <li class="previous page"> + <%= link_to_previous_month(@year, @month, :accesskey => accesskey(:previous)) %> + </li><li class="next page"> + <%= link_to_next_month(@year, @month, :accesskey => accesskey(:next)) %> + </li> + </ul> +</span> <p class="buttons"> <%= label_tag('month', l(:label_month)) %> |