1 <% content_for :heading do %>
2 <h1><%= h(@title) %></h1>
3 <ul class='secondary-actions clearfix'>
4 <li><%= t('.description') %></li>
5 <li><%= rss_link_to :action => 'georss', :display_name => @display_name, :tag => @tag %></li>
6 <li><%= link_to t('.upload_trace'), new_trace_path %></li>
8 <li><%= link_to t('.see_all_traces'), :controller => 'traces', :action => 'list', :display_name => nil, :tag => nil, :page => nil %></li>
9 <li><%= link_to t('.see_my_traces'), :action => 'mine', :tag => nil, :page => nil %></li>
11 <% if @display_name %>
12 <li><%= link_to t('.see_all_traces'), :controller => 'traces', :action => 'list', :display_name => nil, :tag => nil, :page => nil %></li>
14 <% if current_user && current_user != @target_user %>
15 <li><%= link_to t('.see_my_traces'), :action => 'mine', :tag => nil, :page => nil %></li>
21 <% content_for :auto_discovery_link_tag do %>
22 <%= auto_discovery_link_tag :rss, :action => 'georss', :display_name => @display_name, :tag => @tag %>
25 <% if @traces.size > 0 %>
26 <%= render :partial => 'trace_paging_nav' %>
28 <table id="trace_list" cellpadding="3">
36 <%= render :partial => 'trace', :collection => @traces unless @traces.nil? %>
40 <%= render :partial => 'trace_paging_nav' %>
42 <h4><%= t '.empty_html', :upload_link => new_trace_path %></h4>
45 <%= render :partial => 'trace_optionals' %>