X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d88cb014cb21ab88419eb48045d3daec96ec9093..3b729822f6d3c03b2f551cb90edb1ddc674d3063:/app/views/user_blocks/_block.html.erb diff --git a/app/views/user_blocks/_block.html.erb b/app/views/user_blocks/_block.html.erb index a18d1dbdb..5444bdd5b 100644 --- a/app/views/user_blocks/_block.html.erb +++ b/app/views/user_blocks/_block.html.erb @@ -1,9 +1,9 @@ <% if show_user_name %> - <%= link_to block.user.display_name, block.user %> + <%= link_to block.user.display_name, block.user, :class => "username d-inline-block text-truncate text-wrap" %> <% end %> <% if show_creator_name %> - <%= link_to block.creator.display_name, block.creator %> + <%= link_to block.creator.display_name, block.creator, :class => "username d-inline-block text-truncate text-wrap" %> <% end %> <%= h truncate(block.reason) %> <%= h block_status(block) %>