-<%= render :partial => 'trace_header' %>
-<% if_user(@target_user) do %>
- <%= render :partial => 'trace_form' %>
+<% content_for :heading do %>
+ <h1><%= h(@title) %></h1>
+ <ul class='secondary-actions clearfix'>
+ <li><%= t('trace.list.description') %></li>
+ <li><%= rss_link_to :action => 'georss', :display_name => @display_name, :tag => @tag %></li>
+ <li><%= link_to t('trace.trace_header.upload_trace'), :action => 'create' %></li>
+ <% if @tag %>
+ <li><%= link_to t('trace.trace_header.see_all_traces'), :controller => 'trace', :action => 'list', :display_name => nil, :tag => nil, :page => nil %></li>
+ <li><%= link_to t('trace.trace_header.see_your_traces'), :action => 'mine', :tag => nil, :page => nil %></li>
+ <% else %>
+ <% if @display_name %>
+ <li><%= link_to t('trace.trace_header.see_all_traces'), :controller => 'trace', :action => 'list', :display_name => nil, :tag => nil, :page => nil %></li>
+ <% end %>
+ <%= unless_user(@target_user, :li) do %>
+ <%= link_to t('trace.trace_header.see_your_traces'), :action => 'mine', :tag => nil, :page => nil %>
+ <% end %>
+ <% end %>
+ </ul>