Change texts on order confirmation page if no attachments are sent

This commit is contained in:
Raphael Michel
2021-03-02 18:36:00 +01:00
parent e3bd665093
commit 6e3791a49e

View File

@@ -10,14 +10,22 @@
<div class="panel-body text-center">
<h4>
<span class="fa fa-envelope text-muted fa-2x" aria-hidden="true"></span><br><br>
{% 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 %}
</h4>
<p class="text-muted">
{% 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