From ddd5b61cd182ac9ca0174196a2b6c533ac5ac468 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=AD=C3=B0ir=20Valberg=20Gu=C3=B0mundsson?= Date: Thu, 8 Aug 2019 11:38:08 +0200 Subject: [PATCH] Templates fixes. --- src/sponsors/templates/emails/sponsorticket_email.html | 2 +- src/tickets/templates/pdf/ticket.html | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/sponsors/templates/emails/sponsorticket_email.html b/src/sponsors/templates/emails/sponsorticket_email.html index 3f97ad7f..557e6cc7 100644 --- a/src/sponsors/templates/emails/sponsorticket_email.html +++ b/src/sponsors/templates/emails/sponsorticket_email.html @@ -1,6 +1,6 @@ Hello!

-This email contains a {{ ticket.sponsor.name }} sponsor ticket for {{ ticket.sponsor.camp.title }}
+This email contains a {{ ticket.sponsor.name }} sponsor ticket for {{ ticket.sponsor.camp.title }} (1 out of {{ ticket.sponsor.tier.tickets }})
Thank you for helping out! :)

Best regards,
diff --git a/src/tickets/templates/pdf/ticket.html b/src/tickets/templates/pdf/ticket.html index 260516ea..914d4cec 100644 --- a/src/tickets/templates/pdf/ticket.html +++ b/src/tickets/templates/pdf/ticket.html @@ -13,7 +13,9 @@

{{ ticket.ticket_type.camp.title }} Ticket

Type: {{ ticket.ticket_type.name }}

+{% if ticket.product %}

Product: {{ ticket.product.name }}

+{% endif %} {% if quantity %}

Quantity: {{ quantity }}

{% endif %}