X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/62e7006a2131eef9f7569e8c25207b3777bc3d74..bd8713f42b4a5196cf89e8270c57322742ba1f5e:/app/views/trace/_trace_paging_nav.html.erb?ds=sidebyside diff --git a/app/views/trace/_trace_paging_nav.html.erb b/app/views/trace/_trace_paging_nav.html.erb index c338a1469..669c1fe70 100644 --- a/app/views/trace/_trace_paging_nav.html.erb +++ b/app/views/trace/_trace_paging_nav.html.erb @@ -1,5 +1,6 @@

+<% if @traces.size > 1 %> <% if @page > 1 %> <%= link_to t('trace.trace_paging_nav.previous'), params.merge({ :page => @page - 1 }) %> <% else %> @@ -13,5 +14,5 @@ <% else %> <%= link_to t('trace.trace_paging_nav.next'), params.merge({ :page => @page + 1 }) %> <% end %> - +<% end %>