X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2f9291ba5764fe104264ae7e3b6a361e11212e8b..58e95f7ea46accda6359b187ce5936aad4ac5945:/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 %>