From a81f7d9482f43f3b330c25462467985081d488ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Kl=C3=BCnder?= Date: Fri, 13 Dec 2024 11:26:41 +0000 Subject: [PATCH] don't show number of operations if it's zero --- src/c3nav/editor/templates/editor/changeset.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c3nav/editor/templates/editor/changeset.html b/src/c3nav/editor/templates/editor/changeset.html index fe28208c..496c5f91 100644 --- a/src/c3nav/editor/templates/editor/changeset.html +++ b/src/c3nav/editor/templates/editor/changeset.html @@ -81,7 +81,7 @@ {% if changeset.description %}

{{ changeset.description }}

{% endif %} -{% if changed_objects %} +{% if changed_objects and operations|length %}

{% blocktranslate count counter=operations|length %}({{ counter }} operation in total){% plural %}({{ counter }} operations in total){% endblocktranslate %}

{% endif %} {% for obj in changed_objects %}