From: Tom Hughes Date: Sun, 25 Feb 2024 13:40:11 +0000 (+0000) Subject: Merge remote-tracking branch 'upstream/pull/4272' X-Git-Tag: live~760 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/71cb2c50fcaf29e2b933fc981e40a00223d94d34 Merge remote-tracking branch 'upstream/pull/4272' --- 71cb2c50fcaf29e2b933fc981e40a00223d94d34 diff --cc app/views/browse/changeset.html.erb index ee8eee66e,9225192e1..db6b9c966 --- a/app/views/browse/changeset.html.erb +++ b/app/views/browse/changeset.html.erb @@@ -77,40 -90,28 +77,40 @@@ <% end %> <% unless @ways.empty? %> - <%= render :partial => "paging_nav", :locals => { :heading => type_and_paginated_count("way", @way_pages), :pages => @way_pages, :page_param => "way_page" } %> + <%= render :partial => "paging_nav", :locals => { :type => "way", :pages => @way_pages } %> <% end %> <% unless @relations.empty? %> - <%= render :partial => "paging_nav", :locals => { :heading => type_and_paginated_count("relation", @relation_pages), :pages => @relation_pages, :page_param => "relation_page" } %> + <%= render :partial => "paging_nav", :locals => { :type => "relation", :pages => @relation_pages } %> <% end %> <% unless @nodes.empty? %> - <%= render :partial => "paging_nav", :locals => { :heading => type_and_paginated_count("node", @node_pages), :pages => @node_pages, :page_param => "node_page" } %> + <%= render :partial => "paging_nav", :locals => { :type => "node", :pages => @node_pages } %> <% end %>