From 3a25af6496b99812bd516c4f7667c3d800a844f4 Mon Sep 17 00:00:00 2001 From: Richard Schreiber Date: Tue, 2 Jun 2026 16:10:15 +0200 Subject: [PATCH] =?UTF-8?q?Control:=20fix=20button-width=20in=20event?= =?UTF-8?q?=E2=80=99s=20dangerzone=20(#6234)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pretixcontrol/event/dangerzone.html | 66 ++++++++++--------- 1 file changed, 36 insertions(+), 30 deletions(-) diff --git a/src/pretix/control/templates/pretixcontrol/event/dangerzone.html b/src/pretix/control/templates/pretixcontrol/event/dangerzone.html index dc08123fc..dc2773bbe 100644 --- a/src/pretix/control/templates/pretixcontrol/event/dangerzone.html +++ b/src/pretix/control/templates/pretixcontrol/event/dangerzone.html @@ -9,23 +9,24 @@

{% trans "Go offline" %}

-
+
+

{% blocktrans trimmed %} You can take your event offline. Nobody except your team will be able to see or access it any more. {% endblocktrans %} -

-
-
- {% csrf_token %} - +

+
+ + {% csrf_token %} + - - -
+ +
@@ -34,22 +35,24 @@

{% trans "Cancel event" %}

-
+
+

{% blocktrans trimmed %} If you need to call off your event you want to cancel and refund all tickets, you can do so through this option. {% endblocktrans %} +

-
- {% if "event:cancel" in request.eventpermset %} - - +
+ + + {% if "event:cancel" in request.eventpermset %} {% trans "Cancel event" %} - - {% else %} - {% trans "No permission" %} - {% endif %} + {% else %} + {% trans "No permission" %} + {% endif %} +
@@ -59,15 +62,16 @@

{% trans "Delete personal data" %}

-
+
+

{% blocktrans trimmed %} You can remove personal data such as names and email addresses from your event and only retain the financial information such as the number and type of tickets sold. {% endblocktrans %} +

-
- +
+ {% trans "Delete personal data" %} @@ -80,15 +84,17 @@

{% trans "Delete event" %}

-
+
+

{% blocktrans trimmed %} You can delete your event completely only as long as it does not contain any undeletable data, such as orders not performed in test mode. {% endblocktrans %} +

-