X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ad4ab4603b27f2e89e4bb4a709bc04a6685ba67b..ca4ee6faa9378e7610356e36cbd4931a2657eeed:/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),