对于已经加入的小组不再显示加入小组部分

This commit is contained in:
sxw
2015-12-09 21:18:16 +08:00
parent 2e4379c1b9
commit 7f38db660c

View File

@@ -25,6 +25,7 @@
<p class="group-detail">{{ group.description|safe }}</p>
</div>
</div>
{% if not joined %}
<hr>
<div>
{% if group.join_group_setting %}
@@ -34,10 +35,13 @@
<textarea class="form-control" id="applyMessage" rows="10"></textarea>
</div>
{% endif %}
<div class="form-group">
<button class="btn btn-primary" id="sendApplication">{% if group.join_group_setting %}申请{% endif %}加入</button>
</div>
</div>
{% endif %}
</div>
{% endblock %}
{% block js_block %}