Truncate if necessary and set dir=auto for changeset usernames
This commit is contained in:
parent
bc70cae711
commit
c739e061cc
2 changed files with 23 additions and 7 deletions
|
@ -3,7 +3,7 @@ module ChangesetsHelper
|
|||
if changeset.user.status == "deleted"
|
||||
t("users.no_such_user.deleted")
|
||||
elsif changeset.user.data_public?
|
||||
link_to changeset.user.display_name, 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue