1 <% content_for :heading do %>
2 <h1><%= h(@title) %></h1>
3 <ul class='secondary-actions clearfix'>
4 <li><%= t('trace.list.description') %></li>
5 <li><%= rss_link_to :action => 'georss', :display_name => @display_name, :tag => @tag %></li>
6 <li><%= link_to t('trace.trace_header.upload_trace'), :action => 'create' %></li>
8 <li><%= link_to t('trace.trace_header.see_all_traces'), :controller => 'trace', :action => 'list', :display_name => nil, :tag => nil, :page => nil %></li>
9 <li><%= link_to t('trace.trace_header.see_my_traces'), :action => 'mine', :tag => nil, :page => nil %></li>
11 <% if @display_name %>
12 <li><%= link_to t('trace.trace_header.see_all_traces'), :controller => 'trace', :action => 'list', :display_name => nil, :tag => nil, :page => nil %></li>
14 <%= unless_user(@target_user, :li) do %>
15 <%= link_to t('trace.trace_header.see_my_traces'), :action => 'mine', :tag => nil, :page => nil %>
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 'trace.list.empty_html', :upload_link => trace_create_path %></h4>
45 <%= render :partial => 'trace_optionals' %>