X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/52a8e2a0d91355ba152443a63cc8c9744240a907..5bb23f6f5f8fed81f1166a15344e44afa7fbb480:/app/views/traces/index.html.erb
diff --git a/app/views/traces/index.html.erb b/app/views/traces/index.html.erb
index 6e27ac7e4..4311ba082 100644
--- a/app/views/traces/index.html.erb
+++ b/app/views/traces/index.html.erb
@@ -56,7 +56,8 @@
<% end %>
- <%= link_to t(".traces_from", :user => @target_user&.display_name), { :controller => "traces", :action => "index", :display_name => @target_user&.display_name }, { :class => "nav-link active" } %>
+ <%= link_to t(".traces_from_html", :user => tag.span(@target_user.display_name, :class => "username text-truncate d-inline-block align-bottom", :dir => "auto")),
+ { :controller => "traces", :action => "index", :display_name => @target_user.display_name }, { :class => "nav-link active" } %>
<% end %>
@@ -69,23 +70,7 @@
<% end %>
<% if @traces.size > 0 %>
- <%= render "shared/pagination",
- :newer_key => "traces.trace_paging_nav.newer",
- :older_key => "traces.trace_paging_nav.older",
- :newer_id => @newer_traces_id,
- :older_id => @older_traces_id %>
-
-
-
- <%= render @traces %>
-
-
-
- <%= render "shared/pagination",
- :newer_key => "traces.trace_paging_nav.newer",
- :older_key => "traces.trace_paging_nav.older",
- :newer_id => @newer_traces_id,
- :older_id => @older_traces_id %>
+ <%= render :partial => "page" %>
<% else %>
<%= t ".empty_title" %>
<%= t ".empty_upload_html", :upload_link => link_to(t(".upload_new"), new_trace_path),