X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2c5f5a011448474826d6b4509b4faa85253c58f4..efc2a3fa477f47b3c3c812fa32af5680f0632f4f:/app/views/changeset/_changeset_paging_nav.html.erb?ds=inline diff --git a/app/views/changeset/_changeset_paging_nav.html.erb b/app/views/changeset/_changeset_paging_nav.html.erb index 27bc30981..5a5d94f05 100644 --- a/app/views/changeset/_changeset_paging_nav.html.erb +++ b/app/views/changeset/_changeset_paging_nav.html.erb @@ -7,5 +7,7 @@ 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 })) } %> +<% if @edit_pages.page_count > 1 %> + | <%= pagination_links_each(@edit_pages, {}) { |n| link_to(n, params.merge({ :page => n })) } %> +<% end %>