Permissions: If no sections, do not show list
This commit is contained in:
parent
2592577e55
commit
60476a260e
1 changed files with 44 additions and 38 deletions
|
|
@ -25,6 +25,7 @@
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if Sections %}
|
||||||
<form id="user" method="post">
|
<form id="user" method="post">
|
||||||
|
|
||||||
{% for Section in Sections %}
|
{% for Section in Sections %}
|
||||||
|
|
@ -70,6 +71,11 @@
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
{% else %}
|
||||||
|
<div class="my-4">
|
||||||
|
Pas de section pour le moment
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue