X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6290405336817cd282ad5062ce3fc3774ccf61e4..edda4af515cfb0bd4de1ed0650b47e124bfad6ed:/app/views/traces/index.html.erb?ds=sidebyside
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),