aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorFrancis Irving <francis@mysociety.org>2010-07-20 21:57:41 +0100
committerFrancis Irving <francis@mysociety.org>2010-07-20 21:57:41 +0100
commit5ea11df9d6a9f27b58b51c52e9971886ff674b19 (patch)
tree8b6ce836a2b964759143a0617bf87a4b7e8447cb /app/views
parentfe4ff2a58ee7d0f194c14523707541386c77b51e (diff)
Show banned in public.
Diffstat (limited to 'app/views')
-rw-r--r--app/views/user/show.rhtml8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/user/show.rhtml b/app/views/user/show.rhtml
index 54d864698..6a341af6c 100644
--- a/app/views/user/show.rhtml
+++ b/app/views/user/show.rhtml
@@ -72,6 +72,14 @@
<% end %>
</p>
+ <% if @display_user.public_banned? %>
+ <p id="user_public_banned">
+ <strong>
+ This user has been banned from WhatDoTheyKnow.com
+ </strong>
+ </p>
+ <% end %>
+
<% if !@display_user.get_about_me_for_html_display.empty? || @is_you %>
<div class="user_about_me">
<img class="comment_quote" src="/images/quote.png" alt="">