Truncate long reason texts to not overwhelm the browser window.
This commit is contained in:
parent
daa2496024
commit
ab1444f338
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
<% if show_moderator_name %>
|
||||
<td class="<%= c1 %>"><%= link_to h(block.moderator.display_name), :controller => 'user', :action => 'view', :display_name => block.moderator.display_name %></td>
|
||||
<% end %>
|
||||
<td class="<%= c1 %>"><%=h block.reason %></td>
|
||||
<td class="<%= c1 %>"><%=h truncate(block.reason) %></td>
|
||||
<td class="<%= c1 %>">
|
||||
<% if block.active? %>
|
||||
<% if block.needs_view? %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue