X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d07277efba0c0069705bbefa68f2624a9c6c9ff0..e9d3d4d19bcdf91732db57ecaa8d4831c7f585a3:/app/views/trace/list.rhtml
diff --git a/app/views/trace/list.rhtml b/app/views/trace/list.rhtml
index b8bc9111b..1bf36cc60 100644
--- a/app/views/trace/list.rhtml
+++ b/app/views/trace/list.rhtml
@@ -1,17 +1,20 @@
Public GPS Traces
-
-
+<% if @tag %>
+ Traces filtered by tag <%= @tag %>
+
+<% end %>
|
-<% if @user %>
- <%= link_to 'See just your traces', {:controller => 'trace', :action => 'mine'} %>
-<% else %>
- <%= link_to 'login', {:controller => 'user', :action => 'login'} %> to see just your traces
+<%= link_to 'See just your traces, or upload a trace', {:controller => 'trace', :action => 'mine'} %>
+<% if @tag %>
+ | <%= link_to 'See all traces', {:controller => 'trace', :action => 'list'} %>
<% end %>
-
-<%= render (:partial => 'trace_paging_nav') %>
+
+
+
+<%= render :partial => 'trace_paging_nav' %>
@@ -20,6 +23,6 @@
<%= render :partial => 'trace', :collection => @traces %>
-<%= render (:partial => 'trace_paging_nav') %>
+<%= render :partial => 'trace_paging_nav' %>
-<%= render (:partial => 'trace_optionals') %>
+<%= render :partial => 'trace_optionals' %>