This commit is contained in:
Toks
2013-04-01 21:36:49 -04:00
parent cf5bf0edea
commit bfda9ffa2a
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@
<tbody>
<% @bans.each do |ban| %>
<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.reason %></td>
<td>

View File

@@ -2,7 +2,7 @@
<div class="show">
<h1>Show Ban</h1>
<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>Reason</strong>: <%= @ban.reason %></li>
</ul>