X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b446138aefb04799cc1253886335ced16e546517..2559226be3baa2007a37689867bc945c3a6c9fe0:/app/views/traces/_trace_paging_nav.html.erb diff --git a/app/views/traces/_trace_paging_nav.html.erb b/app/views/traces/_trace_paging_nav.html.erb index 4f4b83701..4fcc7b4d8 100644 --- a/app/views/traces/_trace_paging_nav.html.erb +++ b/app/views/traces/_trace_paging_nav.html.erb @@ -2,17 +2,17 @@ <% if @traces.size > 1 %> <% if @page > 1 %> -<%= link_to t('.newer'), @params.merge({ :page => @page - 1 }) %> +<%= link_to t(".newer"), @params.merge(:page => @page - 1) %> <% else %> -<%= t('.newer') %> +<%= t(".newer") %> <% end %> -| <%= t('.showing_page', :page => @page) %> | +| <%= t(".showing_page", :page => @page) %> | <% if @traces.size < @page_size %> -<%= t('.older') %> +<%= t(".older") %> <% else %> -<%= link_to t('.older'), @params.merge({ :page => @page + 1 }) %> +<%= link_to t(".older"), @params.merge(:page => @page + 1) %> <% end %> <% end %>