X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/07ad4a36ea398f4bba431d19d5d99e0160ad814b..6378c21ecb27f63e57e161f520fb8989450d47cf:/app/views/trace/_trace_paging_nav.rhtml?ds=sidebyside diff --git a/app/views/trace/_trace_paging_nav.rhtml b/app/views/trace/_trace_paging_nav.rhtml index a7e752893..9ac80d4cd 100644 --- a/app/views/trace/_trace_paging_nav.rhtml +++ b/app/views/trace/_trace_paging_nav.rhtml @@ -1,12 +1,12 @@ <% current_page = @trace_pages.current_page %> -Showing page +<%= t'trace.trace_paging_nav.showing' %> <%= current_page.number %> (<%= current_page.first_item %><% if (current_page.first_item < current_page.last_item) # if more than 1 trace on page %>-<%= current_page.last_item %><% end %> -of <%= @trace_pages.item_count %>) +<%= t'trace.trace_paging_nav.of' %> <%= @trace_pages.item_count %>) <% if @trace_pages.page_count > 1 %> - | <%= pagination_links(@trace_pages) %> + | <%= pagination_links_each(@trace_pages, {}) { |n| link_to_page(n) } %> <% end %>