diff options
-rw-r--r-- | app/views/activities/index.html.erb | 12 |
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> <% other_formats_links do |f| %> <%= f.link_to 'Atom', :url => params.merge(:from => nil, :key => User.current.rss_key) %> |