X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cb65cd9adc7240330922a7c11fd57c55521f3074..2d7e0a397a1b2dbed74f40439c1305b1b48a063e:/app/views/shared/_pagination.html.erb?ds=sidebyside diff --git a/app/views/shared/_pagination.html.erb b/app/views/shared/_pagination.html.erb index f10d0a9dc..547078c51 100644 --- a/app/views/shared/_pagination.html.erb +++ b/app/views/shared/_pagination.html.erb @@ -1,3 +1,5 @@ +<% if older_id || newer_id %> + <% translation_scope ||= "shared.pagination.#{controller.controller_name}" %> + +<% end %>