users: reword ban notice messages.
* Show the ban length instead of the ban expiration date in ban notices. * Fix the ban notice to not say "Your account has been temporarily banned" when it's a permanent ban.
This commit is contained in:
@@ -81,9 +81,7 @@
|
||||
<%= render "users/upgrade_notice" %>
|
||||
<% end %>
|
||||
|
||||
<% if CurrentUser.user.is_banned? %>
|
||||
<%= render "users/ban_notice" %>
|
||||
<% end %>
|
||||
<%= render "users/ban_notice" %>
|
||||
|
||||
<% if params[:controller] != "dmails" && has_unread_dmails?(CurrentUser.user) %>
|
||||
<%= render "users/dmail_notice" %>
|
||||
|
||||
Reference in New Issue
Block a user