]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/changesets_helper.rb
Merge pull request #5362 from AntonKhorev/color-mode-preference-map
[rails.git] / app / helpers / changesets_helper.rb
index dbee08c507f175e691fffae849b45b357f3515f7..ae953c5833c59c59e2b135d342f0d2c7aa2f21e5 100644 (file)
@@ -3,7 +3,7 @@ module ChangesetsHelper
     if changeset.user.status == "deleted"
       t("users.no_such_user.deleted")
     elsif changeset.user.data_public?
     if changeset.user.status == "deleted"
       t("users.no_such_user.deleted")
     elsif changeset.user.data_public?
-      link_to(changeset.user.display_name, user_path(changeset.user))
+      link_to changeset.user.display_name, changeset.user, :class => "mw-100 d-inline-block align-bottom text-truncate text-wrap", :dir => "auto"
     else
       t("browse.anonymous")
     end
     else
       t("browse.anonymous")
     end