From 846be07a5e54a9c59368c50ddccb773335fd5bcc Mon Sep 17 00:00:00 2001
From: Raphael Michel
Date: Tue, 7 Jun 2022 12:12:07 +0200
Subject: [PATCH] Fix ticket download date not being shown
---
.../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 b3db13333..565494fce 100644
--- a/src/pretix/presale/templates/pretixpresale/event/fragment_downloads.html
+++ b/src/pretix/presale/templates/pretixpresale/event/fragment_downloads.html
@@ -88,7 +88,7 @@
{% endif %}
- {% elif not download_buttons and ticket_download_date %}
+{% elif not can_download and ticket_download_date %}
{% if order.status == 'p' %}
{% blocktrans trimmed with date=ticket_download_date|date:"SHORT_DATE_FORMAT" %}