From 0da5305b08d6163a05491923e6c655caeb8bb4bd Mon Sep 17 00:00:00 2001 From: Mira Weller Date: Fri, 26 Jan 2024 13:14:03 +0100 Subject: [PATCH] don't show multi-download if only one downloadable ticket exists --- .../templates/pretixpresale/event/fragment_downloads.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/presale/templates/pretixpresale/event/fragment_downloads.html b/src/pretix/presale/templates/pretixpresale/event/fragment_downloads.html index 236716761e..42d402975d 100644 --- a/src/pretix/presale/templates/pretixpresale/event/fragment_downloads.html +++ b/src/pretix/presale/templates/pretixpresale/event/fragment_downloads.html @@ -38,7 +38,7 @@ {% elif can_download and download_buttons and order.count_positions and tickets_with_download %}

{% trans "Ticket download" %}

- {% 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 #}
{% for b in download_buttons %} {% if b.multi %}