2 <% if @show_user_name %>
3 <td><%= link_to block.user.display_name, block.user, :class => "username d-inline-block text-truncate text-wrap", :dir => "auto" %></td>
5 <% if @show_creator_name %>
6 <td><%= link_to block.creator.display_name, block.creator, :class => "username d-inline-block text-truncate text-wrap", :dir => "auto" %></td>
8 <td><%= h truncate(block.reason) %></td>
9 <td><%= h block_status(block) %></td>
11 <% if block.revoker_id.nil? %>
12 <%= t(".not_revoked") %>
14 <%= link_to block.revoker.display_name, block.revoker, :class => "username d-inline-block text-truncate text-wrap", :dir => "auto" %>
17 <td><%= link_to t(".show"), block %></td>
18 <td><% if can?(:edit, block) %><%= link_to t(".edit"), edit_user_block_path(block) %><% end %></td>