-<p>
-<% current_page = @edit_pages.current_page %>
+<ul class='secondary-actions pager clearfix'>
+ <% if @page > 1 %>
+ <li><%= link_to t('changeset.changeset_paging_nav.previous'), params.merge({ :page => @page - 1 }) %></li>
+ <% else %>
+ <li><%= t('changeset.changeset_paging_nav.previous') %></li>
+ <% end %>
-<%= t'changeset.changeset_paging_nav.showing_page' %>
-<%= current_page.number %> (<%= current_page.first_item %><%
-if (current_page.first_item < current_page.last_item) # if more than 1 changeset on page
- %>-<%= current_page.last_item %><%
-end %>
-<%= t'changeset.changeset_paging_nav.of'%> <%= @edit_pages.item_count %>)
+ <li><%= t('changeset.changeset_paging_nav.showing_page', :page => @page) %></li>
-<%
-if @edit_pages.page_count > 1
- bboxparam = h(params['bbox'])
- bboxparam = nil if bboxparam==""
-%>
- | <%= pagination_links_each(@edit_pages, {}) { |n| link_to(n, :display_name => @display_name, :bbox => bboxparam , :page => n) } %>
-<%
-end
-%>
-</p>
+ <% if @edits.size < @page_size %>
+ <li><%= t('changeset.changeset_paging_nav.next') %></li>
+ <% else %>
+ <li><%= link_to t('changeset.changeset_paging_nav.next'), params.merge({ :page => @page + 1 }) %></li>
+ <% end %>
+</ul>
\ No newline at end of file