This commit is contained in:
Toks
2013-07-05 20:47:07 -04:00
parent 23246f878b
commit 7d0bc1be29
4 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
<div class="ui-corner-all ui-state-error" id="ban-notice">
<h1>Your account has been temporarily banned</h1>
<p>Reason: <%= CurrentUser.user.recent_ban.reason %></p>
<p>Reason: <%= format_text CurrentUser.user.recent_ban.reason %></p>
<p>Your ban will expire in <%= time_ago_in_words(CurrentUser.user.recent_ban.expires_at) %></p>
</div>

View File

@@ -20,7 +20,7 @@
<% if user.is_banned? %>
<tr>
<th>Ban reason</th>
<td><%= presenter.ban_reason %></td>
<td><%= format_text presenter.ban_reason %></td>
</tr>
<% end %>