diff options
author | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-08-06 12:33:22 +0200 |
---|---|---|
committer | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-08-06 12:40:33 +0200 |
commit | ace0c5bb46ee78b0fe6533b5d50a2dd8c04198a4 (patch) | |
tree | 696ee9593d1ba6f7d1cd4b164fc0c178cf042566 /ogcp/templates | |
parent | 4c1a86249b295368b7a933a50e36beaad5926c55 (diff) |
views: enable multi-image deletion
Allow the deletion of multiple images in image/delete.
Diffstat (limited to 'ogcp/templates')
-rw-r--r-- | ogcp/templates/actions/delete_image.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ogcp/templates/actions/delete_image.html b/ogcp/templates/actions/delete_image.html index 3eeab42..69acc79 100644 --- a/ogcp/templates/actions/delete_image.html +++ b/ogcp/templates/actions/delete_image.html @@ -8,8 +8,9 @@ {{ args }} +{% set img_count = image_ids | length %} <h2 class="mx-5 subhead-heading"> - {{ _('Delete image %(image_name)s', image_name=image_name) }} + {{ _('Delete %(img_count)d image(s)', img_count=img_count) }} </h2> {{ wtf.quick_form(form, |