Public GPS Traces
<% if @tag %>
Traces filtered by tag <%= @tag %>
<% end %>
|
<% if @user %>
<%= link_to 'See just your traces, or upload a trace', {:controller => 'trace', :action => 'mine'} %>
<% else %>
<%= link_to 'login', {:controller => 'user', :action => 'login', :next_controller => 'traces', :next_action => 'mine'} %> to upload a trace or see yours alone
<% 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_optionals') %>