X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d14cf519fd876274900758a903e7e390d38922d5..58e95f7ea46accda6359b187ce5936aad4ac5945:/app/views/traces/_trace_paging_nav.html.erb?ds=sidebyside 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 %>