summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/actions/client_details.html
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-07-15 14:07:45 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-07-15 14:07:45 +0200
commit0d2f38ac4780deca0ad3a2c9fb248136bb4dfb58 (patch)
tree4dafe3c1444fa1911897933da879442b5ec96693 /ogcp/templates/actions/client_details.html
parentdc1c6304646a3b9a059e23a74324afb2eefb415c (diff)
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.
Diffstat (limited to 'ogcp/templates/actions/client_details.html')
-rw-r--r--ogcp/templates/actions/client_details.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/ogcp/templates/actions/client_details.html b/ogcp/templates/actions/client_details.html
index 03c761e..0362d5b 100644
--- a/ogcp/templates/actions/client_details.html
+++ b/ogcp/templates/actions/client_details.html
@@ -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 %}