]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/shared/_pagination.html.erb
Add articles before "exit" and "roundabout"
[rails.git] / app / views / shared / _pagination.html.erb
index be701bc23bd571e54e1cca2a7938af99f70a9078..547078c51158f5be69df8eaa3232f3b82c0e1b7e 100644 (file)
@@ -1,3 +1,6 @@
+<% if older_id || newer_id %>
+
+<% translation_scope ||= "shared.pagination.#{controller.controller_name}" %>
 <nav>
   <% link_class = "page-link icon-link text-center" %>
   <ul class="pagination">
 <nav>
   <% link_class = "page-link icon-link text-center" %>
   <ul class="pagination">
@@ -30,3 +33,5 @@
     <% end -%>
   </ul>
 </nav>
     <% end -%>
   </ul>
 </nav>
+
+<% end %>