summaryrefslogtreecommitdiff
path: root/app/views/users/show.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/users/show.html.erb')
-rw-r--r--app/views/users/show.html.erb7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb
index 3d9dcfe..de784a2 100644
--- a/app/views/users/show.html.erb
+++ b/app/views/users/show.html.erb
@@ -16,9 +16,10 @@
<div class="clear"></div>
<% if @ban_json %>
- <span class="user-banned">This user is banned for "<%=@ban_json["reason"]%>"<%=" until #{@ban_json["expires"]}" unless @ban_json["expires"] == "forever"%></span>
- <% elsif @user.banned? %>
- <span class="user-banned">This user is banned!</span>
+ <span class="user-banned">This user is banned on the server for "<%=@ban_json["reason"]%>"<%=" until #{@ban_json["expires"]}" unless @ban_json["expires"] == "forever"%></span>
+ <% end %>
+ <% if @user.banned? %>
+ <span class="user-banned">This user is banned on the website!</span>
<% end %>
<br>
<% if !@user.confirmed? %>