diff --git a/src/pretix/control/templates/pretixcontrol/vouchers/detail.html b/src/pretix/control/templates/pretixcontrol/vouchers/detail.html index 09bb678ca2..afdc1bc1da 100644 --- a/src/pretix/control/templates/pretixcontrol/vouchers/detail.html +++ b/src/pretix/control/templates/pretixcontrol/vouchers/detail.html @@ -27,15 +27,17 @@ {% trans "Voucher details" %} {% bootstrap_field form.code layout="control" %} {% if voucher.pk %} -
- -
- + {% if not request.event.has_subevents or voucher.subevent %} +
+ +
+ +
-
+ {% endif %} {% endif %} {% bootstrap_field form.max_usages layout="control" %} {% bootstrap_field form.valid_until layout="control" %}