]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/trace/list.rhtml
Show an edit link on the trace details page, and use the same zoom level
[rails.git] / app / views / trace / list.rhtml
index 6ff6b34a632054e926f1faef7f17d74108563a81..237fd7ae4d33027550e56afe15fcc3b071889b5e 100644 (file)
@@ -1,8 +1,21 @@
 <h1>Public GPS Traces</h1>
-<% if @user %>
-  <%= link_to 'See just your traces', {:controller => 'trace', :action => 'mine'} %>
+
+<% if @tag %>
+ Traces filtered by tag <b><%= @tag %></b>
+ <br/><br/>
+<% end %>
+<span class="rsssmall"><a href="<%= url_for :controller => 'trace', :action => 'georss' %>"><img src="/images/RSS.gif" border="0" alt="RSS" /></a></span> | 
+<%= 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 %>
 
+
+<br />
+<br />
+
+<%= render :partial => 'trace_paging_nav' %>
+
 <table id="keyvalue" cellpadding="3">
   <tr>
     <th></th>
@@ -10,3 +23,6 @@
   </tr>
   <%= render :partial => 'trace', :collection => @traces %>
 </table>
+<%= render :partial => 'trace_paging_nav' %>
+
+<%= render :partial => 'trace_optionals' %>