don't show multi-download if only one downloadable ticket exists

This commit is contained in:
Mira Weller
2024-01-26 13:14:03 +01:00
parent 6ede62a868
commit 0da5305b08

View File

@@ -38,7 +38,7 @@
{% elif can_download and download_buttons and order.count_positions and tickets_with_download %}
<div class="info-download">
<h3 class="sr-only">{% trans "Ticket download" %}</h3>
{% if cart.positions|length > 1 and can_download_multi %} {# never True on ticket page #}
{% if tickets_with_download|length > 1 and can_download_multi %} {# never True on ticket page #}
<div>
{% for b in download_buttons %}
{% if b.multi %}