From ace0c5bb46ee78b0fe6533b5d50a2dd8c04198a4 Mon Sep 17 00:00:00 2001 From: Alejandro Sirgo Rica Date: Tue, 6 Aug 2024 12:33:22 +0200 Subject: views: enable multi-image deletion Allow the deletion of multiple images in image/delete. --- ogcp/templates/actions/delete_image.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ogcp/templates/actions') 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 %}

- {{ _('Delete image %(image_name)s', image_name=image_name) }} + {{ _('Delete %(img_count)d image(s)', img_count=img_count) }}

{{ wtf.quick_form(form, -- cgit v1.2.3-18-g5258