From: hernani Date: Wed, 14 Apr 2010 15:54:27 +0000 (+0000) Subject: allow superusers to see users email X-Git-Tag: live~1042 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/babd81c7454731fa1f8cfeaecbc71dc7d4ad3817 allow superusers to see users email git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@32 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- diff --git a/forum/skins/default/templates/user_info.html b/forum/skins/default/templates/user_info.html index d5b2666..690fc7e 100644 --- a/forum/skins/default/templates/user_info.html +++ b/forum/skins/default/templates/user_info.html @@ -85,6 +85,12 @@ {% trans "age" %} {% get_age view_user.date_of_birth %} {% trans "age unit" %} + {% endif %} + {% if request.user.is_superuser %} + + {% trans "email" %} + {{ view_user.email }} + {% endif %}