fixes #1138
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<% @bans.each do |ban| %>
|
<% @bans.each do |ban| %>
|
||||||
<tr id="ban-<%= ban.id %>">
|
<tr id="ban-<%= ban.id %>">
|
||||||
<td><%= ban.user.name %></td>
|
<td><%= link_to(ban.user.name, user_path(ban.user_id), { :class => ban.user.level_class }) %></td>
|
||||||
<td><%= ban.expires_at %></td>
|
<td><%= ban.expires_at %></td>
|
||||||
<td><%= ban.reason %></td>
|
<td><%= ban.reason %></td>
|
||||||
<td>
|
<td>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<div class="show">
|
<div class="show">
|
||||||
<h1>Show Ban</h1>
|
<h1>Show Ban</h1>
|
||||||
<ul>
|
<ul>
|
||||||
<li><strong>User</strong>: <%= @ban.user.name %></li>
|
<li><strong>User</strong>: <%= link_to(@ban.user.name, user_path(@ban.user_id), { :class => @ban.user.level_class }) %></li>
|
||||||
<li><strong>Expires</strong>: <%= compact_time @ban.expires_at %></li>
|
<li><strong>Expires</strong>: <%= compact_time @ban.expires_at %></li>
|
||||||
<li><strong>Reason</strong>: <%= @ban.reason %></li>
|
<li><strong>Reason</strong>: <%= @ban.reason %></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
Reference in New Issue
Block a user