X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/52e5fa6ad78f375cec5a207a123a4aa3939c8ddf..d57755b737cbb38a590b0e017a4b5c6c661aea62:/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' %>