[openstreetmap/openstreetmap-website] Truncate long usernames in blocks tables (PR #5087)

Anton Khorev notifications at github.com
Fri Aug 16 14:23:52 UTC 2024


@AntonKhorev commented on this pull request.



>    <% end %>
   <% if show_creator_name %>
-  <td><%= link_to block.creator.display_name, block.creator %></td>
+  <td><%= link_to block.creator.display_name, block.creator, :class => "username d-inline-block text-truncate text-wrap" %></td>

This is a link. Your browser will show it on mouseover somewhere.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5087#discussion_r1719915735
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5087/review/2242837760 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240816/c306bd40/attachment.htm>


More information about the rails-dev mailing list