This commit is contained in:
r888888888
2015-06-12 11:40:49 -07:00
parent f94d297149
commit 5985725cc6

View File

@@ -17,7 +17,7 @@
<td><%= presenter.level %></td> <td><%= presenter.level %></td>
</tr> </tr>
<% if user.is_banned? %> <% if user.is_banned? && user.recent_ban %>
<tr> <tr>
<th>Ban reason</th> <th>Ban reason</th>
<td><%= format_text presenter.ban_reason %></td> <td><%= format_text presenter.ban_reason %></td>