- <h1><%= h(@title) %></h1>
- <ul class='secondary-actions clearfix'>
- <li><%= t('.description') %></li>
- <li><%= rss_link_to :action => 'georss', :display_name => @display_name, :tag => @tag %></li>
- <li><%= link_to t('.upload_trace'), new_trace_path %></li>
- <% if @tag %>
- <li><%= link_to t('.see_all_traces'), :controller => 'traces', :action => 'index', :display_name => nil, :tag => nil, :page => nil %></li>
- <li><%= link_to t('.see_my_traces'), :action => 'mine', :tag => nil, :page => nil %></li>
- <% else %>
- <% if @display_name %>
- <li><%= link_to t('.see_all_traces'), :controller => 'traces', :action => 'index', :display_name => nil, :tag => nil, :page => nil %></li>
+ <h1><%= @title %></h1>
+ <p>
+ <%= t(".description") %>
+ <% if params[:tag] %>
+ <%= link_to t(".remove_tag_filter", :tag => params[:tag]), { :controller => "traces", :action => "index", :display_name => nil, :tag => nil, :page => nil }, { :class => "border-left ml-2 pl-2" } %>
+ <% end %>
+ </p>
+ <ul class="nav nav-tabs flex-column flex-sm-row">
+ <% if @target_user.blank? %>
+ <!-- public traces -->
+ <li class="nav-item">
+ <%= link_to t(".all_traces"), { :controller => "traces", :action => "index", :display_name => nil, :page => nil }, { :class => "nav-link active" } %>
+ </li>
+ <% if current_user %>
+ <li class="nav-item">
+ <%= link_to t(".my_traces"), { :action => "mine", :page => nil }, { :class => "nav-link" } %>
+ </li>