]> git.openstreetmap.org Git - rails.git/commitdiff
Merge remote-tracking branch 'upstream/pull/5276'
authorTom Hughes <tom@compton.nu>
Mon, 21 Oct 2024 21:45:04 +0000 (22:45 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 21 Oct 2024 21:45:04 +0000 (22:45 +0100)
app/views/shared/_pagination.html.erb

index f10d0a9dc36648527306da667cdb764494c71d37..547078c51158f5be69df8eaa3232f3b82c0e1b7e 100644 (file)
@@ -1,3 +1,5 @@
+<% if older_id || newer_id %>
+
 <% translation_scope ||= "shared.pagination.#{controller.controller_name}" %>
 <nav>
   <% link_class = "page-link icon-link text-center" %>
@@ -31,3 +33,5 @@
     <% end -%>
   </ul>
 </nav>
+
+<% end %>