don't show number of operations if it's zero

This commit is contained in:
Laura Klünder 2024-12-13 11:26:41 +00:00
parent 14b8bca34a
commit a81f7d9482

View file

@ -81,7 +81,7 @@
{% if changeset.description %}
<p>{{ changeset.description }}</p>
{% endif %}
{% if changed_objects %}
{% if changed_objects and operations|length %}
<p><em>{% blocktranslate count counter=operations|length %}({{ counter }} operation in total){% plural %}({{ counter }} operations in total){% endblocktranslate %}</em></p>
{% endif %}
{% for obj in changed_objects %}