/bans: add Banner, Banned at columns.
This commit is contained in:
@@ -6,6 +6,8 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>User</th>
|
<th>User</th>
|
||||||
|
<th>Banner</th>
|
||||||
|
<th>Banned</th>
|
||||||
<th>Expires</th>
|
<th>Expires</th>
|
||||||
<th>Reason</th>
|
<th>Reason</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
@@ -15,6 +17,8 @@
|
|||||||
<% @bans.each do |ban| %>
|
<% @bans.each do |ban| %>
|
||||||
<tr id="ban-<%= ban.id %>" data-expired="<%= ban.expired? %>">
|
<tr id="ban-<%= ban.id %>" data-expired="<%= ban.expired? %>">
|
||||||
<td><%= link_to_user(ban.user) %></td>
|
<td><%= link_to_user(ban.user) %></td>
|
||||||
|
<td><%= link_to_user(ban.banner) %></td>
|
||||||
|
<td><%= time_ago_in_words_tagged(ban.created_at) %></td>
|
||||||
<td><%= ban.expires_at %></td>
|
<td><%= ban.expires_at %></td>
|
||||||
<td class="col-expand"><%= format_text ban.reason, :ragel => true %></td>
|
<td class="col-expand"><%= format_text ban.reason, :ragel => true %></td>
|
||||||
<td>
|
<td>
|
||||||
|
|||||||
Reference in New Issue
Block a user