forked from CGM_Public/pretix_original
More precise texts in the download fragment
This commit is contained in:
@@ -2,10 +2,13 @@
|
|||||||
{% load eventurl %}
|
{% load eventurl %}
|
||||||
{% if can_download and download_buttons and order.count_positions %}
|
{% if can_download and download_buttons and order.count_positions %}
|
||||||
<div class="alert alert-info info-download">
|
<div class="alert alert-info info-download">
|
||||||
{% blocktrans trimmed %}
|
|
||||||
You can download your tickets using the buttons below. Please have your ticket ready when entering the event.
|
|
||||||
{% endblocktrans %}
|
|
||||||
{% if cart.positions|length > 1 and can_download_multi %}
|
{% if cart.positions|length > 1 and can_download_multi %}
|
||||||
|
{% blocktrans trimmed %}
|
||||||
|
Please have your ticket ready when entering the event.
|
||||||
|
{% endblocktrans %}
|
||||||
|
{% blocktrans trimmed %}
|
||||||
|
Download your tickets here:
|
||||||
|
{% endblocktrans %}
|
||||||
<p class="info-download">
|
<p class="info-download">
|
||||||
{% trans "Download all tickets at once:" %}
|
{% trans "Download all tickets at once:" %}
|
||||||
{% for b in download_buttons %}
|
{% for b in download_buttons %}
|
||||||
@@ -22,6 +25,12 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</p>
|
</p>
|
||||||
{% elif tickets_with_download|length == 1 %}
|
{% elif tickets_with_download|length == 1 %}
|
||||||
|
{% blocktrans trimmed %}
|
||||||
|
Please have your ticket ready when entering the event.
|
||||||
|
{% endblocktrans %}
|
||||||
|
{% blocktrans trimmed %}
|
||||||
|
Download your ticket here:
|
||||||
|
{% endblocktrans %}
|
||||||
<p class="info-download">
|
<p class="info-download">
|
||||||
{% for b in download_buttons %}
|
{% for b in download_buttons %}
|
||||||
<form action="{% if position_page and tickets_with_download.0.addon_to %}{% eventurl event "presale:event.order.position.download" secret=tickets_with_download.0.addon_to.web_secret order=order.code output=b.identifier pid=tickets_with_download.0.pk position=tickets_with_download.0.addon_to.positionid %}{% elif position_page %}{% eventurl event "presale:event.order.position.download" secret=tickets_with_download.0.web_secret order=order.code output=b.identifier pid=tickets_with_download.0.pk position=tickets_with_download.0.positionid %}{% else %}{% eventurl event "presale:event.order.download" secret=order.secret order=order.code output=b.identifier position=tickets_with_download.0.pk %}{% endif %}"
|
<form action="{% if position_page and tickets_with_download.0.addon_to %}{% eventurl event "presale:event.order.position.download" secret=tickets_with_download.0.addon_to.web_secret order=order.code output=b.identifier pid=tickets_with_download.0.pk position=tickets_with_download.0.addon_to.positionid %}{% elif position_page %}{% eventurl event "presale:event.order.position.download" secret=tickets_with_download.0.web_secret order=order.code output=b.identifier pid=tickets_with_download.0.pk position=tickets_with_download.0.positionid %}{% else %}{% eventurl event "presale:event.order.download" secret=order.secret order=order.code output=b.identifier position=tickets_with_download.0.pk %}{% endif %}"
|
||||||
@@ -34,6 +43,13 @@
|
|||||||
</form>
|
</form>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</p>
|
</p>
|
||||||
|
{% else %}
|
||||||
|
{% blocktrans trimmed %}
|
||||||
|
Please have your ticket ready when entering the event.
|
||||||
|
{% endblocktrans %}
|
||||||
|
{% blocktrans trimmed %}
|
||||||
|
Download your tickets using the buttons below.
|
||||||
|
{% endblocktrans %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% elif not download_buttons and ticket_download_date %}
|
{% elif not download_buttons and ticket_download_date %}
|
||||||
|
|||||||
Reference in New Issue
Block a user