Commit b62dd58e826d1b19a8964a944ca54d6ef0c980bd

Authored by Sergio Oliveira
1 parent 01f21eb8

Only showing personal information to active users.

closes #29
src/accounts/templates/accounts/user_detail.html
... ... @@ -34,6 +34,7 @@
34 34 {{ user_.institution }}
35 35 </li>
36 36 {% endif %}
  37 + {% if request.user.is_active %}
37 38 {% if user_.twitter %}
38 39 <li><span class="icon-twitter icon-fixed-width"></span> {{ user_.twitter }}</li>
39 40 {% endif %}
... ... @@ -46,6 +47,7 @@
46 47 {% if user_.webpage %}
47 48 <li><span class="icon-link icon-fixed-width"></span> {{ user_.webpage }}</li>
48 49 {% endif %}
  50 + {% endif %}
49 51 </ul>
50 52 </div>
51 53  
... ...