X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/43db18ae911fef3ad7b36e9ed27e5eff469ef863..12998355a370c5af1302b271a994d27d40b7e731:/app/views/traces/index.html.erb?ds=inline
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),