X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/46e9dcbcc7ba632db77a2137ee0da2a66d77c47b..4012eb7f9a723a27ddf42615eec5d4c27e1e2534:/app/views/trace/list.rhtml?ds=sidebyside
diff --git a/app/views/trace/list.rhtml b/app/views/trace/list.rhtml
index 6ff6b34a6..d93e32a5b 100644
--- a/app/views/trace/list.rhtml
+++ b/app/views/trace/list.rhtml
@@ -1,7 +1,24 @@
Public GPS Traces
+
+<% if @tag %>
+ Traces filtered by tag <%= @tag %>
+
+<% end %>
+ |
<% if @user %>
- <%= link_to 'See just your traces', {:controller => 'trace', :action => 'mine'} %>
+ <%= link_to 'See just your traces, or upload a trace', {:controller => 'trace', :action => 'mine'} %>
+<% else %>
+ <%= link_to 'login', {:controller => 'user', :action => 'login', :next_controller => 'traces', :next_action => 'mine'} %> to upload a trace or see yours alone
<% end %>
+<% if @tag %>
+ | <%= link_to 'See all traces', {:controller => 'trace', :action => 'list'} %>
+<% end %>
+
+
+
+
+
+<%= render :partial => 'trace_paging_nav' %>
@@ -10,3 +27,6 @@
<%= render :partial => 'trace', :collection => @traces %>
+<%= render :partial => 'trace_paging_nav' %>
+
+<%= render :partial => 'trace_optionals' %>