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