X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ed54379218d21b9bd52933903e8cb504a15dfe7e..3b1f455dd9c7b64933f952350081728458d190a1:/app/views/trace/list.html.erb diff --git a/app/views/trace/list.html.erb b/app/views/trace/list.html.erb index 2475b5ad2..5a33defc8 100644 --- a/app/views/trace/list.html.erb +++ b/app/views/trace/list.html.erb @@ -20,16 +20,20 @@ <% end %>
-<%= render :partial => 'trace_paging_nav' %> +<% if @traces.size > 0 %> + <%= render :partial => 'trace_paging_nav' %> -- | - |
---|
+ | + |
---|
<%= t 'trace.list.empty_html', :upload_link => trace_create_path %>
+<% end %> <%= render :partial => 'trace_optionals' %>