From b5f8438c188ece09d09f660f754f87702281e584 Mon Sep 17 00:00:00 2001 From: luelista Date: Fri, 13 Jun 2025 11:01:18 +0200 Subject: [PATCH] Show warning on incompatible waiting list options (#5218) If "Hide all products that are sold out" is enabled, the waiting list won't work. --- .../pretixcontrol/event/settings.html | 21 +++++++++++++++++++ src/pretix/static/pretixcontrol/js/ui/tabs.js | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/src/pretix/control/templates/pretixcontrol/event/settings.html b/src/pretix/control/templates/pretixcontrol/event/settings.html index c736b3722a..3a90aef7ca 100644 --- a/src/pretix/control/templates/pretixcontrol/event/settings.html +++ b/src/pretix/control/templates/pretixcontrol/event/settings.html @@ -247,6 +247,17 @@ {% bootstrap_field sform.show_variations_expanded layout="control" %} {% bootstrap_field sform.hide_sold_out layout="control" %} +
+
+
+

{% trans "Incompatible settings" %}

+ {% blocktrans trimmed %} + Customers won't be able to add themselves to the waiting list, because "Hide all products that are sold out" is enabled. + {% endblocktrans %} +
+
+
+

{% trans "Calendar and list views" context "subevents" %}

{% if sform.frontpage_subevent_ordering %} {% bootstrap_field sform.frontpage_subevent_ordering layout="control" %} @@ -372,6 +383,16 @@ {% bootstrap_field sform.waiting_list_enabled layout="control" %} +
+
+
+

{% trans "Incompatible settings" %}

+ {% blocktrans trimmed %} + Customers won't be able to add themselves to the waiting list, because "Hide all products that are sold out" is enabled. + {% endblocktrans %} +
+
+
{% bootstrap_field sform.waiting_list_auto layout="control" %}