- <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">
- <li class="nav-item">
- <% if @target_user.blank? %>
- <!-- public traces -->
- <% if current_user %>
- <li class="nav-item">
- <%= link_to t(".see_my_traces"), {:action => "mine", :page => nil}, {:class => "nav-link"} %>
- </li>
- <% end %>
- <li class="nav-item">
- <%= link_to t(".see_all_traces"), {:controller => "traces", :action => "index", :display_name => nil, :page => nil}, {:class => "nav-link active"} %>
- </li>
- <% elsif current_user && current_user == @target_user %>
- <!-- my traces -->
- <li class="nav-item">
- <%= link_to t(".see_my_traces"), {:action => "mine", :page => nil}, {:class => "nav-link active"} %>
- </li>
- <li class="nav-item">
- <%= link_to t(".see_all_traces"), {:controller => "traces", :action => "index", :display_name => nil, :page => nil}, {:class => "nav-link"} %>
+ <nav class="secondary-actions mb-3">
+ <ul>
+ <li>
+ <%= t(".description") %>
+ </li>
+ <% if params[:tag] %>
+ <li>
+ <%= link_to t(".remove_tag_filter", :tag => params[:tag]), { :controller => "traces", :action => "index", :tag => nil } %>