templates: hide part table in client details with no partitions

Remove <table> with partition information in client details form
when the selected client has no partition configuration.
master
Alejandro Sirgo Rica 2024-07-15 14:07:45 +02:00
parent dc1c630464
commit 0d2f38ac47
1 changed files with 2 additions and 0 deletions

View File

@ -80,6 +80,7 @@
</form>
</div>
{% if setup|length > 0 %}
<table class="table">
<tbody class="text-center">
<tr>
@ -103,5 +104,6 @@
{% endfor %}
</tbody>
</table>
{% endif %}
{% endblock %}