1 <% current_page = @trace_pages.current_page %>
3 <%= t'trace.trace_paging_nav.showing' %>
4 <%= current_page.number %> (<%= current_page.first_item %><%
5 if (current_page.first_item < current_page.last_item) # if more than 1 trace on page
6 %>-<%= current_page.last_item %><%
8 <%= t'trace.trace_paging_nav.of' %> <%= @trace_pages.item_count %>)
10 <% if @trace_pages.page_count > 1 %>
11 | <%= pagination_links_each(@trace_pages, {}) { |n| link_to_page(n) } %>