Commit b62dd58e826d1b19a8964a944ca54d6ef0c980bd
1 parent
01f21eb8
Exists in
master
and in
39 other branches
Only showing personal information to active users.
closes #29
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
src/accounts/templates/accounts/user_detail.html
@@ -34,6 +34,7 @@ | @@ -34,6 +34,7 @@ | ||
34 | {{ user_.institution }} | 34 | {{ user_.institution }} |
35 | </li> | 35 | </li> |
36 | {% endif %} | 36 | {% endif %} |
37 | + {% if request.user.is_active %} | ||
37 | {% if user_.twitter %} | 38 | {% if user_.twitter %} |
38 | <li><span class="icon-twitter icon-fixed-width"></span> {{ user_.twitter }}</li> | 39 | <li><span class="icon-twitter icon-fixed-width"></span> {{ user_.twitter }}</li> |
39 | {% endif %} | 40 | {% endif %} |
@@ -46,6 +47,7 @@ | @@ -46,6 +47,7 @@ | ||
46 | {% if user_.webpage %} | 47 | {% if user_.webpage %} |
47 | <li><span class="icon-link icon-fixed-width"></span> {{ user_.webpage }}</li> | 48 | <li><span class="icon-link icon-fixed-width"></span> {{ user_.webpage }}</li> |
48 | {% endif %} | 49 | {% endif %} |
50 | + {% endif %} | ||
49 | </ul> | 51 | </ul> |
50 | </div> | 52 | </div> |
51 | 53 |