mirror of
https://github.com/pretix/pretix.git
synced 2026-05-03 14:54:04 +00:00
Fix incorrect condition in template
This commit is contained in:
@@ -316,8 +316,9 @@
|
|||||||
{% if line.item.admission and event.settings.attendee_emails_asked %}
|
{% if line.item.admission and event.settings.attendee_emails_asked %}
|
||||||
<dt>{% trans "Attendee email" %}</dt>
|
<dt>{% trans "Attendee email" %}</dt>
|
||||||
<dd>
|
<dd>
|
||||||
{% if line.attendee_email and not line.addon_to %}
|
{% if line.attendee_email %}
|
||||||
{{ line.attendee_email }}
|
{{ line.attendee_email }}
|
||||||
|
{% if not line.addon_to %}
|
||||||
<form class="form-inline helper-display-inline" method="post"
|
<form class="form-inline helper-display-inline" method="post"
|
||||||
action="{% url "control:event.order.resendlink" event=request.event.slug organizer=request.event.organizer.slug code=order.code position=line.pk %}">
|
action="{% url "control:event.order.resendlink" event=request.event.slug organizer=request.event.organizer.slug code=order.code position=line.pk %}">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
@@ -325,6 +326,7 @@
|
|||||||
{% trans "Resend link" %}
|
{% trans "Resend link" %}
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<em>{% trans "not answered" %}</em>
|
<em>{% trans "not answered" %}</em>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user