forked from CGM_Public/pretix_original
don't show multi-download if only one downloadable ticket exists
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user