]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/trace/mine.rhtml
Include a general location from GeoNames in the reverse geocode description.
[rails.git] / app / views / trace / mine.rhtml
index 661f73c52777bce3476e1269aaa05073d862d039..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' %>