]> git.openstreetmap.org Git - rails.git/blob - app/views/changeset/_changeset_paging_nav.html.erb
Re-committing experimental CSS media queries stuff for mobile and other small-screen...
[rails.git] / app / views / changeset / _changeset_paging_nav.html.erb
1 <p>
2 <% current_page = @edit_pages.current_page %>
3
4 <%= t'changeset.changeset_paging_nav.showing_page' %> 
5 <%= current_page.number %> (<%= current_page.first_item %><% 
6 if (current_page.first_item < current_page.last_item) # if more than 1 changeset on page 
7   %>-<%= current_page.last_item %><% 
8 end %>
9 <%= t'changeset.changeset_paging_nav.of'%> <%= @edit_pages.item_count %>)
10  | <%= pagination_links_each(@edit_pages, {}) { |n| link_to(n, params.merge({ :page => n })) }  %>
11 </p>