Product list: Fix consistency issue (Z#23201046) (#5307)

This commit is contained in:
Raphael Michel
2025-07-16 14:51:11 +02:00
committed by GitHub
parent ec60ea9603
commit 149f1ee871

View File

@@ -72,9 +72,11 @@
{% endblocktrans %}
</span>
<span aria-hidden="true">{{ item.min_price|money:event.currency }} {{ item.max_price|money:event.currency }}</span>
{% elif not item.min_price and not item.max_price and not item.mandatory_priced_addons %}
<span class="text-uppercase">{% trans "free" context "price" %}</span>
{% elif not item.mandatory_priced_addons %}
{% elif not item.min_price and not item.max_price %}
{% if not item.mandatory_priced_addons %}
<span class="text-uppercase">{% trans "free" context "price" %}</span>
{% endif %}
{% else %}
{{ item.min_price|money:event.currency }}
{% endif %}
</div>