X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/fb1467a94487cfdfcb19e4f88e05be7aa88096f0..88a206b0f2979caf066a3127afd3cd71b39da7c8:/app/views/trace/list.rhtml?ds=inline
diff --git a/app/views/trace/list.rhtml b/app/views/trace/list.rhtml
index ce2e76349..4ca59dabe 100644
--- a/app/views/trace/list.rhtml
+++ b/app/views/trace/list.rhtml
@@ -1,6 +1,32 @@
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
<% end %>
+<% if @tag %>
+ | <%= link_to 'See all traces', {:controller => 'trace', :action => 'list'} %>
+<% end %>
+
+
+
+
+
+<%= render (:partial => 'trace_paging_nav') %>
+
+
+
+ |
+ |
+
+ <%= render :partial => 'trace', :collection => @traces %>
+
+<%= render (:partial => 'trace_paging_nav') %>
-<%= render :partial => 'trace', :collection => @traces %>
+<%= render (:partial => 'trace_optionals') %>