X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/84db1d66b7d819a4a777d2b9e5909cffe82c514e..d7d317f694b8d75aa6a3c2e5b5fee0903c7b61ed:/app/views/trace/_trace_paging_nav.html.erb diff --git a/app/views/trace/_trace_paging_nav.html.erb b/app/views/trace/_trace_paging_nav.html.erb index c338a1469..724efdd74 100644 --- a/app/views/trace/_trace_paging_nav.html.erb +++ b/app/views/trace/_trace_paging_nav.html.erb @@ -1,17 +1,15 @@
- -<% if @page > 1 %> -<%= link_to t('trace.trace_paging_nav.previous'), params.merge({ :page => @page - 1 }) %> -<% else %> -<%= t('trace.trace_paging_nav.previous') %> -<% end %> - -| <%= t('trace.trace_paging_nav.showing_page', :page => @page) %> | - -<% if @traces.size < @page_size %> -<%= t('trace.trace_paging_nav.next') %> -<% else %> -<%= link_to t('trace.trace_paging_nav.next'), params.merge({ :page => @page + 1 }) %> -<% end %> - + <% if @page > 1 %> + <%= link_to t('trace.trace_paging_nav.previous'), params.merge({ :page => @page - 1 }) %> + <% else %> + <%= t('trace.trace_paging_nav.previous') %> + <% end %> + + | <%= t('trace.trace_paging_nav.showing_page', :page => @page) %> | + + <% if @traces.size < @page_size %> + <%= t('trace.trace_paging_nav.next') %> + <% else %> + <%= link_to t('trace.trace_paging_nav.next'), params.merge({ :page => @page + 1 }) %> + <% end %>