From 6e3791a49e2d05969e79712eacf2f2b37f53cfb2 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Tue, 2 Mar 2021 18:36:00 +0100 Subject: [PATCH] Change texts on order confirmation page if no attachments are sent --- .../pretixpresale/event/fragment_downloads.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/pretix/presale/templates/pretixpresale/event/fragment_downloads.html b/src/pretix/presale/templates/pretixpresale/event/fragment_downloads.html index f395062db..36564b17b 100644 --- a/src/pretix/presale/templates/pretixpresale/event/fragment_downloads.html +++ b/src/pretix/presale/templates/pretixpresale/event/fragment_downloads.html @@ -10,14 +10,22 @@



- {% trans "Please check your email account, we've sent you your tickets." %} + {% if event.settings.mail_attach_tickets %} + {% trans "Please check your email account, we've sent you your tickets." %} + {% else %} + {% trans "Please check your email account, we've sent you an email." %} + {% endif %}

{% if position_page %} {% blocktrans trimmed %} - You can also download them right here as soon as the person who placed the order clicked the + You can download your tickets right here as soon as the person who placed the order clicked the link in the email they received to confirm the email address is valid. {% endblocktrans %} + {% elif not event.settings.mail_attach_tickets %} + {% blocktrans trimmed %} + If you click the link in our email, you will be able to download your tickets here. + {% endblocktrans %} {% else %} {% blocktrans trimmed %} If the email has no attachment, click the link in our email and you will be able to download