Add a custom text to explain usage of vouchers

This commit is contained in:
Raphael Michel
2018-12-05 16:50:05 +01:00
parent e4f80f7660
commit 953ea26984
4 changed files with 18 additions and 0 deletions

View File

@@ -458,6 +458,11 @@
{% if show_vouchers %}
<section class="front-page">
<h3>{% trans "Redeem a voucher" %}</h3>
{% if event.settings.voucher_explanation_text %}
<div>
{{ event.settings.voucher_explanation_text|rich_text }}
</div>
{% endif %}
<form method="get" action="{% eventurl event "presale:event.redeem" cart_namespace=cart_namespace %}">
<div class="row-voucher">
<div class="col-md-8 col-sm-6 col-xs-12">