Added ban reason #41

Merged
bruncbrunc merged 7 commits from bna into master 2017-10-31 22:20:56 -04:00
Showing only changes of commit bd85a2c3ae - Show all commits

View File

@@ -16,7 +16,7 @@
<div class="clear"></div>
<% if @ban_json %>
<span class="user-banned">This used is banned for "<%=@ban_json["reason"]%>"<%=" until #{@ban_json["expires"]}" unless @ban_json["expires"] == "forever"%></span>
<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>
<% end %>