Order page: Do not show download deadline if download is disabled (fixes #3144) (#5630)

This commit is contained in:
Raphael Michel
2025-11-17 15:42:20 +01:00
committed by GitHub
parent d7b6856322
commit 86ca7c4440

View File

@@ -88,7 +88,7 @@
</p>
{% endif %}
</div>
{% elif not can_download and plugins_allow_ticket_download and ticket_download_date %}
{% elif not can_download and plugins_allow_ticket_download and ticket_download_date and event.settings.ticket_download %}
{% if order.status == 'p' %}
<div class="alert alert-info info-download">
{% blocktrans trimmed with date=ticket_download_date|date:"SHORT_DATE_FORMAT" %}