Templates fixes.

This commit is contained in:
Víðir Valberg Guðmundsson 2019-08-08 11:38:08 +02:00
parent 8b0df39d13
commit ddd5b61cd1
2 changed files with 3 additions and 1 deletions

View file

@ -1,6 +1,6 @@
Hello!<br>
<br>
This email contains a {{ ticket.sponsor.name }} sponsor ticket for {{ ticket.sponsor.camp.title }}<br>
This email contains a {{ ticket.sponsor.name }} sponsor ticket for {{ ticket.sponsor.camp.title }} (1 out of {{ ticket.sponsor.tier.tickets }})<br>
Thank you for helping out! :)<br>
<br>
Best regards,<br>

View file

@ -13,7 +13,9 @@
<br>
<h2>{{ ticket.ticket_type.camp.title }} Ticket</h2>
<h3>Type: {{ ticket.ticket_type.name }}</h3>
{% if ticket.product %}
<h3>Product: {{ ticket.product.name }}</h3>
{% endif %}
{% if quantity %}
<h3>Quantity: {{ quantity }}</h3>
{% endif %}