X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6efdcaa9930bd2e392294304095ae31a91b8c4ab..d6b05a8da92af53ed978f32321b2b90fbc4405a6:/app/views/trace/list.rhtml?ds=sidebyside
diff --git a/app/views/trace/list.rhtml b/app/views/trace/list.rhtml
index 327c68ed6..51752a246 100644
--- a/app/views/trace/list.rhtml
+++ b/app/views/trace/list.rhtml
@@ -1,32 +1,3 @@
-
Public GPS Traces
+<%= render :partial => 'trace_header' %>
-<% 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') %>
+<%= render :partial => 'trace_list' %>