mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
Add a warning message to products that are out of timeframe
This commit is contained in:
@@ -36,6 +36,12 @@
|
|||||||
item to an existing or newly created quota.
|
item to an existing or newly created quota.
|
||||||
{% endblocktrans %}
|
{% endblocktrans %}
|
||||||
</div>
|
</div>
|
||||||
|
{% elif not object.is_available_by_time %}
|
||||||
|
<div class="alert alert-warning">
|
||||||
|
{% blocktrans trimmed %}
|
||||||
|
This product is currently not being sold since you configured below that it should only be available in a certain timeframe.
|
||||||
|
{% endblocktrans %}
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% block inside %}
|
{% block inside %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user