From 8a3fa6aff6fac86d9d59cb2c3845de035f705832 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Tue, 18 Jul 2017 16:46:36 +0200 Subject: [PATCH] Show category descriptions if redeeming a voucher --- .../presale/templates/pretixpresale/event/voucher.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/pretix/presale/templates/pretixpresale/event/voucher.html b/src/pretix/presale/templates/pretixpresale/event/voucher.html index 67f4e51868..2d17a019e6 100644 --- a/src/pretix/presale/templates/pretixpresale/event/voucher.html +++ b/src/pretix/presale/templates/pretixpresale/event/voucher.html @@ -25,7 +25,12 @@ {% for tup in items_by_category %}
- {% if tup.0 %}

{{ tup.0.name }}

{% endif %} + {% if tup.0 %} +

{{ tup.0.name }}

+ {% if tup.0.description %} +

{{ tup.0.description|localize|rich_text }}

+ {% endif %} + {% endif %} {% for item in tup.1 %} {% if item.has_variations %}