]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/trace/mine.rhtml
change mime type and reformat search controller
[rails.git] / app / views / trace / mine.rhtml
index c18615f47071e2c13e091ad1e0d6e7a70cfef092..e403d591bba707566b53cc1155c44919ad38c18b 100644 (file)
@@ -1,10 +1,19 @@
 <h1>Your GPS Traces</h1>
 
-<br />
+<% if @tag %>
+ Traces filtered by tag <b><%= @tag %></b>
+ <br/><br/>
+<% end %>
+<%= link_to 'See all traces', {:controller => 'trace', :action => 'list'} %>
+<% if @tag %>
+  | <%= link_to 'See all your traces', {:controller => 'trace', :action => 'mine'} %>
+<% end %>
 
-<%= link_to 'See all traces', {:controller => 'trace', :action => 'list'} %><br /><br />
+<br />
+<br />
 
 <% if @user %>
+
 <%= start_form_tag({:action => 'create'}, :multipart => true) %>
 <table>
 <table>
@@ -17,8 +26,6 @@
 </td></tr>
 </table>
 
-<br>
-
 <%= end_form_tag %> 
 
 <%= render (:partial => 'trace_paging_nav') %>