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><%= block_short_time_in_past(block.created_at) %></td>
10 <% if block.ends_at > Time.now.utc %>
11 <td><%= block_short_time_in_future(block.ends_at) %></td>
13 <td><%= block_short_time_in_past(block.ends_at) %></td>
15 <td><%= h block_short_status(block) %></td>
16 <td><%= link_to t(".show"), block %></td>
17 <td><% if can?(:edit, block) %><%= link_to t(".edit"), edit_user_block_path(block) %><% end %></td>