对于已经加入的小组不再显示加入小组部分
This commit is contained in:
@@ -25,6 +25,7 @@
|
|||||||
<p class="group-detail">{{ group.description|safe }}</p>
|
<p class="group-detail">{{ group.description|safe }}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{% if not joined %}
|
||||||
<hr>
|
<hr>
|
||||||
<div>
|
<div>
|
||||||
{% if group.join_group_setting %}
|
{% if group.join_group_setting %}
|
||||||
@@ -34,10 +35,13 @@
|
|||||||
<textarea class="form-control" id="applyMessage" rows="10"></textarea>
|
<textarea class="form-control" id="applyMessage" rows="10"></textarea>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<button class="btn btn-primary" id="sendApplication">{% if group.join_group_setting %}申请{% endif %}加入</button>
|
<button class="btn btn-primary" id="sendApplication">{% if group.join_group_setting %}申请{% endif %}加入</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block js_block %}
|
{% block js_block %}
|
||||||
|
|||||||
Reference in New Issue
Block a user