X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cb65cd9adc7240330922a7c11fd57c55521f3074..8e54d0f2aeaad8648a60e4685fa64380c45c5631:/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 %>