/bans: add Banner, Banned at columns.

This commit is contained in:
evazion
2017-04-12 22:45:21 -05:00
parent 715dcc491b
commit 1bc4eda12b

View File

@@ -6,6 +6,8 @@
<thead>
<tr>
<th>User</th>
<th>Banner</th>
<th>Banned</th>
<th>Expires</th>
<th>Reason</th>
<th></th>
@@ -15,6 +17,8 @@
<% @bans.each do |ban| %>
<tr id="ban-<%= ban.id %>" data-expired="<%= ban.expired? %>">
<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 class="col-expand"><%= format_text ban.reason, :ragel => true %></td>
<td>