<% end %>
</p>
-<%= render :partial => 'trace_paging_nav' %>
+<% if @traces.size > 1 %>
+ <%= render :partial => 'trace_paging_nav' %>
+<% else %>
+ <%= t('trace.list.empty') %> <%= link_to t('trace.list.upload_new'), :controller => 'trace', :action => 'list', :display_name => nil, :tag => nil, :page => nil %> <%= raw t('trace.list.learn_more') %>
+<% end %>
<table id="trace_list" cellpadding="3">
<tr>
<%= render :partial => 'trace', :collection => @traces unless @traces.nil? %>
</table>
-<%= render :partial => 'trace_paging_nav' %>
+<% if @traces.size > 1 %>
+ <%= render :partial => 'trace_paging_nav' %>
+<% end %>
<%= render :partial => 'trace_optionals' %>
your_traces: "Your GPS traces"
public_traces_from: "Public GPS traces from %{user}"
tagged_with: " tagged with %{tags}"
+ empty: "Nothing here yet."
+ upload_new: "Upload a new trace"
+ learn_more: "Or learn more about GPS tracing on the <a href='http://wiki.openstreetmap.org/wiki/Beginners_Guide_1.2'>wiki page</a>."
delete:
scheduled_for_deletion: "Trace scheduled for deletion"
make_public: