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>
|
||||
{% endif %}
|
||||
|
||||
{% if Sections %}
|
||||
<form id="user" method="post">
|
||||
|
||||
{% for Section in Sections %}
|
||||
|
|
@ -70,6 +71,11 @@
|
|||
</button>
|
||||
</div>
|
||||
</form>
|
||||
{% else %}
|
||||
<div class="my-4">
|
||||
Pas de section pour le moment
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue