summaryrefslogtreecommitdiffstats
path: root/app/views/activities
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-06-29 15:44:05 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-06-29 15:44:05 +0000
commit06818eb3b58898fda6baf3d3c3c457c27ab154ec (patch)
tree973c9140037860fa1650d5903d454e7772bffa20 /app/views/activities
parenta4e843842fd040a1ea3071cfc8303b809de80bce (diff)
downloadredmine-06818eb3b58898fda6baf3d3c3c457c27ab154ec.tar.gz
redmine-06818eb3b58898fda6baf3d3c3c457c27ab154ec.zip
Add the new pagination style in the activity page (#23192).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@15589 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/activities')
-rw-r--r--app/views/activities/index.html.erb12
1 files changed, 8 insertions, 4 deletions
diff --git a/app/views/activities/index.html.erb b/app/views/activities/index.html.erb
index c191ccba5..a135f97ff 100644
--- a/app/views/activities/index.html.erb
+++ b/app/views/activities/index.html.erb
@@ -21,18 +21,22 @@
<%= content_tag('p', l(:label_no_data), :class => 'nodata') if @events_by_day.empty? %>
-<div style="float:left;">
+<span class="pagination">
+ <ul class="pages">
+ <li class="previous">
<%= link_to_content_update("\xc2\xab " + l(:label_previous),
params.merge(:from => @date_to - @days - 1),
:title => l(:label_date_from_to, :start => format_date(@date_to - 2*@days), :end => format_date(@date_to - @days - 1)),
:accesskey => accesskey(:previous)) %>
-</div>
-<div style="float:right;">
+ </li>
+ <li class="next">
<%= link_to_content_update(l(:label_next) + " \xc2\xbb",
params.merge(:from => @date_to + @days - 1),
:title => l(:label_date_from_to, :start => format_date(@date_to), :end => format_date(@date_to + @days - 1)),
:accesskey => accesskey(:next)) unless @date_to >= User.current.today %>
-</div>
+ </li>
+ </ul>
+</span>
&nbsp;
<% other_formats_links do |f| %>
<%= f.link_to 'Atom', :url => params.merge(:from => nil, :key => User.current.rss_key) %>