Clarify show_vouchers constraint with subevents

This commit is contained in:
Raphael Michel
2019-12-12 11:56:36 +01:00
parent 7d6b3e7140
commit 8a17fedaa6
2 changed files with 11 additions and 7 deletions

View File

@@ -252,7 +252,7 @@
<div class="col-md-3 col-xs-6 col-md-offset-3 price">
<strong>{{ cart.total|money:event.currency }}</strong>
{% if editable and show_vouchers and not cart.all_with_voucher %}
{% if editable and vouchers_exist and not cart.all_with_voucher %}
<br>
<a class="js-only apply-voucher-toggle" href="#">
<span class="fa fa-tag"></span> {% trans "Redeem a voucher" %}
@@ -273,4 +273,4 @@
{% endif %}
</div>
<div class="clearfix"></div>
</div>
</div>