mirror of
https://github.com/pretix/pretix.git
synced 2026-05-10 16:04:02 +00:00
Fix unavailable input options (Z#23194875) (#5178)
* Fix unavailable input options * Fix it also for items with variations * Fix it also for items with variations
This commit is contained in:
@@ -186,7 +186,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% if var.cached_availability.0 == 100 or var.initial %}
|
{% if not item.current_unavailability_reason and not var.current_unavailability_reason and var.cached_availability.0 == 100 or var.initial %}
|
||||||
<div class="col-md-2 col-sm-3 col-xs-6 availability-box available">
|
<div class="col-md-2 col-sm-3 col-xs-6 availability-box available">
|
||||||
{% if c.max_count == 1 or not c.multi_allowed %}
|
{% if c.max_count == 1 or not c.multi_allowed %}
|
||||||
<label class="btn btn-default btn-checkbox">
|
<label class="btn btn-default btn-checkbox">
|
||||||
@@ -327,7 +327,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
{% if item.cached_availability.0 == 100 or item.initial %}
|
{% if not item.current_unavailability_reason and item.cached_availability.0 == 100 or item.initial %}
|
||||||
<div class="col-md-2 col-sm-3 col-xs-6 availability-box available">
|
<div class="col-md-2 col-sm-3 col-xs-6 availability-box available">
|
||||||
{% if c.max_count == 1 or not c.multi_allowed %}
|
{% if c.max_count == 1 or not c.multi_allowed %}
|
||||||
<label class="btn btn-default btn-checkbox">
|
<label class="btn btn-default btn-checkbox">
|
||||||
|
|||||||
Reference in New Issue
Block a user