Rename views to rails 2 style names.
This commit is contained in:
parent
a8c7d1c4ce
commit
2e2f212472
91 changed files with 2 additions and 6 deletions
12
app/views/trace/_trace_paging_nav.html.erb
Normal file
12
app/views/trace/_trace_paging_nav.html.erb
Normal file
|
@ -0,0 +1,12 @@
|
|||
<% current_page = @trace_pages.current_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 %>
|
||||
<%= t'trace.trace_paging_nav.of' %> <%= @trace_pages.item_count %>)
|
||||
|
||||
<% if @trace_pages.page_count > 1 %>
|
||||
| <%= pagination_links_each(@trace_pages, {}) { |n| link_to_page(n) } %>
|
||||
<% end %>
|
Loading…
Add table
Add a link
Reference in a new issue