mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-24 01:11:12 +00:00
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
This commit is contained in:
parent
a4e843842f
commit
06818eb3b5
@ -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>
|
||||
|
||||
<% other_formats_links do |f| %>
|
||||
<%= f.link_to 'Atom', :url => params.merge(:from => nil, :key => User.current.rss_key) %>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user