summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-06-27 13:10:02 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-06-28 08:43:20 +0200
commita8af19fa23ad312048c439681176415621864e03 (patch)
tree3f775dcb38f7c5957ee03577c89175b316bb13df
parente91fc78a6d21bd5038bebd8966b4b8478c9e3652 (diff)
templates: fix no image message in manage cache view
The template conditional must show the table when form.images has more than zero elements.
-rw-r--r--ogcp/templates/actions/cache.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/ogcp/templates/actions/cache.html b/ogcp/templates/actions/cache.html
index 6443640..4e29f66 100644
--- a/ogcp/templates/actions/cache.html
+++ b/ogcp/templates/actions/cache.html
@@ -20,7 +20,7 @@
<p>{{ _('Select the images to be deleted:') }}</p>
-{% if form.images|length > 1 %}
+{% if form.images|length > 0 %}
<form class="form-inline" method="POST" id="cacheForm">
<table class="table table-hover">
<thead class="thead-light">