X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a7e3b58b410c2f74a69eebbe3151866a5161dc09..f42111e2025edc04fe8440eab10aa6b737754288:/app/views/trace/mine.rhtml diff --git a/app/views/trace/mine.rhtml b/app/views/trace/mine.rhtml index 997e2c297..8364bed9e 100644 --- a/app/views/trace/mine.rhtml +++ b/app/views/trace/mine.rhtml @@ -1,6 +1,16 @@

Your GPS Traces

-<%= link_to 'see all traces', {:controller => 'trace', :action => 'list'} %>

+<% if @tag %> + Traces filtered by tag <%= @tag %> +

+<% end %> +<%= link_to 'See all traces', {:controller => 'trace', :action => 'list'} %> +<% if @tag %> + | <%= link_to 'See all your traces', {:controller => 'trace', :action => 'mine'} %> +<% end %> + +
+
<% if @user %> <%= start_form_tag({:action => 'create'}, :multipart => true) %> @@ -15,20 +25,18 @@ -
- <%= end_form_tag %> +<%= render (:partial => 'trace_paging_nav') %> - <%= render :partial => 'trace', :collection => @traces %> + <%= render (:partial => 'trace', :collection => @traces) unless @traces.nil? %>
+<%= render (:partial => 'trace_paging_nav') %> <% end %> - - - +<%= render (:partial => 'trace_optionals') %>