Now when all the entries fit on one page a trailing slash won't be
included after "Showing page %d (%d of %d)"
This commit is contained in:
parent
2118dd06af
commit
332f8d3a4f
1 changed files with 4 additions and 1 deletions
|
@ -7,5 +7,8 @@ if (current_page.first_item < current_page.last_item) # if more than 1 changeset
|
|||
%>-<%= current_page.last_item %><%
|
||||
end %>
|
||||
<%= t'changeset.changeset_paging_nav.of'%> <%= @edit_pages.item_count %>)
|
||||
| <%= pagination_links_each(@edit_pages, {}) { |n| link_to(n, params.merge({ :page => n })) } %>
|
||||
<% pagination_links = pagination_links_each(@edit_pages, {}) { |n| link_to(n, params.merge({ :page => n })) } %>
|
||||
<% if pagination_links %>
|
||||
| <%= pagination_links %>
|
||||
<% end %>
|
||||
</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue