X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/721f8e00b287974d6346e3c62bb8d0d599cc7db3..7e7ede890e8e948236d3dbc48e24aca00cd01f62:/app/views/shared/_pagination.html.erb 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 %>