mirror of
https://github.com/pretix/pretix.git
synced 2026-05-10 16:04:02 +00:00
Show voucher link even without subevent specified
This commit is contained in:
@@ -39,7 +39,6 @@
|
|||||||
<legend>{% trans "Voucher details" %}</legend>
|
<legend>{% trans "Voucher details" %}</legend>
|
||||||
{% bootstrap_field form.code layout="control" %}
|
{% bootstrap_field form.code layout="control" %}
|
||||||
{% if voucher.pk %}
|
{% if voucher.pk %}
|
||||||
{% if not request.event.has_subevents or voucher.subevent %}
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-md-3 control-label" for="id_url">{% trans "Voucher link" %}</label>
|
<label class="col-md-3 control-label" for="id_url">{% trans "Voucher link" %}</label>
|
||||||
<div class="col-md-9">
|
<div class="col-md-9">
|
||||||
@@ -50,7 +49,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
|
||||||
{% bootstrap_field form.max_usages layout="control" %}
|
{% bootstrap_field form.max_usages layout="control" %}
|
||||||
{% bootstrap_field form.valid_until layout="control" %}
|
{% bootstrap_field form.valid_until layout="control" %}
|
||||||
{% bootstrap_field form.itemvar layout="control" %}
|
{% bootstrap_field form.itemvar layout="control" %}
|
||||||
|
|||||||
Reference in New Issue
Block a user