X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/33ea119c8f520a7e679e38b569c202976907a501..657ed03d8b2e262bc965cc38e8af190624c3295b:/app/views/traces/_trace_paging_nav.html.erb?ds=inline 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 %>