]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/trace/mine.rhtml
rails_port_0.5: Merge rails_port r4664.
[rails.git] / app / views / trace / mine.rhtml
index a626e2b514959b0bd7706e28b1eae02f673e2733..291217753aee210c9e956637888ae3deb97ba1c2 100644 (file)
@@ -1,18 +1,4 @@
-<h1>Your GPS Traces</h1>
-
-<% 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 %>
-
-<br />
-<br />
-
-<% if @user %>
+<%= render :partial => 'trace_header' %>
 
 <% form_tag({:action => 'create'}, :multipart => true) do %>
 <table>
 <%= submit_tag 'Upload' %> | <a href="http://wiki.openstreetmap.org/index.php/Upload">help</a>
 </td></tr>
 </table>
-
-<% end %>
-
-<%= render (:partial => 'trace_paging_nav') %>
-<table id="keyvalue" cellpadding="3">
-  <tr>
-    <th></th>
-    <th></th>
-  </tr>
-  <%= render (:partial => 'trace', :collection => @traces) unless @traces.nil? %>
-</table>
-<%= render (:partial => 'trace_paging_nav') %>
-
 <% end %>
 
-<%= render (:partial => 'trace_optionals') %>
+<%= render :partial => 'trace_list' %>