From: Anton Khorev Date: Sat, 18 May 2024 16:39:35 +0000 (+0300) Subject: Truncate descriptions horizontally in changeset lists X-Git-Tag: live~400^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/98ff2c0b9c28b7a039b55573540f85ea84eb9fca?ds=sidebyside;hp=-c Truncate descriptions horizontally in changeset lists Can't have horizontal scroll because it interferes with stretched links. --- 98ff2c0b9c28b7a039b55573540f85ea84eb9fca diff --git a/app/views/changesets/_changeset.html.erb b/app/views/changesets/_changeset.html.erb index 6d2c9a7a2..2a3f65859 100644 --- a/app/views/changesets/_changeset.html.erb +++ b/app/views/changesets/_changeset.html.erb @@ -11,7 +11,7 @@ end %> <%= tag.li :id => "changeset_#{changeset.id}", :data => { :changeset => changeset_data }, :class => "list-group-item list-group-item-action" do %> -

+

<%= changeset.tags["comment"].to_s.presence || t("browse.no_comment") %>