summaryrefslogtreecommitdiffstats
path: root/ogcp
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp')
-rw-r--r--ogcp/templates/actions/cache.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/ogcp/templates/actions/cache.html b/ogcp/templates/actions/cache.html
index 07f5b16..e6db31f 100644
--- a/ogcp/templates/actions/cache.html
+++ b/ogcp/templates/actions/cache.html
@@ -20,6 +20,7 @@
<p>{{ _('Select the images to be deleted:') }}</p>
+{% if form.images|length > 1 %}
<form class="form-inline" method="POST" id="cacheForm">
<table class="table table-hover">
<thead class="thead-light">
@@ -48,6 +49,11 @@
{{ _('Delete') }}
</button>
</form>
+{% else %}
+<div class="card text-center">
+ <b>{{ _('Cache is currently empty in the selected client(s)') }}</b>
+</div>
+{% endif %}
<br>