mirror of
https://github.com/pretix/pretix.git
synced 2026-05-10 16:04:02 +00:00
Fix display error on variations with required vouchers
This commit is contained in:
@@ -163,7 +163,13 @@
|
|||||||
{% endblocktrans %}</small>
|
{% endblocktrans %}</small>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% if var.cached_availability.0 == 100 %}
|
{% if item.require_voucher %}
|
||||||
|
<div class="col-md-2 col-xs-6 availability-box unavailable">
|
||||||
|
<small>
|
||||||
|
{% trans "Enter a voucher code below to buy this ticket." %}
|
||||||
|
</small>
|
||||||
|
</div>
|
||||||
|
{% elif var.cached_availability.0 == 100 %}
|
||||||
<div class="col-md-2 col-xs-6 availability-box available">
|
<div class="col-md-2 col-xs-6 availability-box available">
|
||||||
<input type="number" class="form-control input-item-count" placeholder="0" min="0"
|
<input type="number" class="form-control input-item-count" placeholder="0" min="0"
|
||||||
max="{{ var.order_max }}"
|
max="{{ var.order_max }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user