From b62dd58e826d1b19a8964a944ca54d6ef0c980bd Mon Sep 17 00:00:00 2001 From: Sergio Oliveira Date: Fri, 4 Oct 2013 15:04:10 -0300 Subject: [PATCH] Only showing personal information to active users. --- src/accounts/templates/accounts/user_detail.html | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/src/accounts/templates/accounts/user_detail.html b/src/accounts/templates/accounts/user_detail.html index 45617d4..66cd3dd 100644 --- a/src/accounts/templates/accounts/user_detail.html +++ b/src/accounts/templates/accounts/user_detail.html @@ -34,6 +34,7 @@ {{ user_.institution }} {% endif %} + {% if request.user.is_active %} {% if user_.twitter %}
  • {{ user_.twitter }}
  • {% endif %} @@ -46,6 +47,7 @@ {% if user_.webpage %}
  • {{ user_.webpage }}
  • {% endif %} + {% endif %} -- libgit2 0.21.2