<%= link_to t(".my_traces"), { :action => "mine" }, { :class => "nav-link active" } %>
</li>
<% else %>
- <!-- public_traces_from @target_user -->
+ <!-- traces_from @target_user -->
<li class="nav-item">
<%= link_to t(".all_traces"), { :controller => "traces", :action => "index", :display_name => nil }, { :class => "nav-link" } %>
</li>
</li>
<% end %>
<li class="nav-item">
- <%= link_to t(".public_traces_from", :user => @target_user&.display_name), { :action => "mine" }, { :class => "nav-link active" } %>
+ <%= link_to t(".traces_from", :user => @target_user&.display_name), { :controller => "traces", :action => "index", :display_name => @target_user&.display_name }, { :class => "nav-link active" } %>
</li>
<% end %>
<%= render "shared/pagination",
:newer_key => "traces.trace_paging_nav.newer",
:older_key => "traces.trace_paging_nav.older",
- :newer_id => @newer_traces && @traces.first.id,
- :older_id => @older_traces && @traces.last.id %>
+ :newer_id => @newer_traces_id,
+ :older_id => @older_traces_id %>
<table id="trace_list" class="table table-borderless table-striped">
<tbody>
<%= render "shared/pagination",
:newer_key => "traces.trace_paging_nav.newer",
:older_key => "traces.trace_paging_nav.older",
- :newer_id => @newer_traces && @traces.first.id,
- :older_id => @older_traces && @traces.last.id %>
+ :newer_id => @newer_traces_id,
+ :older_id => @older_traces_id %>
<% else %>
<h2><%= t ".empty_title" %></h2>
<p><%= t ".empty_upload_html", :upload_link => link_to(t(".upload_new"), new_trace_path),