]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/traces/index.html.erb
Check if db is writable on oauth authorization pages
[rails.git] / app / views / traces / index.html.erb
index 998dd248d45a14b8d108fc9a3ffe1fddf13da563..4311ba082e39de12dd945f3a66bf011c9edfabc3 100644 (file)
@@ -56,7 +56,8 @@
             </li>
           <% end %>
           <li class="nav-item">
-            <%= 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" } %>
           </li>
         <% end %>
       </ul>