X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d88cb014cb21ab88419eb48045d3daec96ec9093..fb854652ea47d7b3fa1657722f1da768eaba4f25:/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) %>