添加隐藏小组功能,但是只有超级管理员才能看到隐藏小组

This commit is contained in:
sxw
2015-12-09 21:48:24 +08:00
parent 804add6a03
commit eacb26eed0
5 changed files with 28 additions and 17 deletions

View File

@@ -22,14 +22,16 @@
{% if user.userprofile.mood %}
<p id="user-mood">{{ user.userprofile.mood }}</p>
{% endif %}
{% if user.userprofile.school %}
<p id="user-mood">{{ user.userprofile.school }}</p>
{% endif %}
</div>
<div class="list-group col-lg-9">
{% if user.userprofile.school %}
<p class="list-group-item"> <span class="glyphicon glyphicon-education"></span>
{{ user.userprofile.school }}
</p>
{% endif %}
{% if user.userprofile.blog %}
<p class="list-group-item"><span class="glyphicon glyphicon-link"></span>
<p class="list-group-item">
<a href="{{ user.userprofile.blog }}" target="_blank">{{ blog_link }}</a>
</p>
{% endif %}