From 5fdc7b784c0d66f020724b7b57086482a4418031 Mon Sep 17 00:00:00 2001 From: Richard Schreiber Date: Thu, 21 May 2026 08:35:29 +0200 Subject: [PATCH] Make disable_url optional for notifications --- .../base/templates/pretixbase/email/notification.html | 8 +++++--- .../base/templates/pretixbase/email/notification.txt | 3 ++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/pretix/base/templates/pretixbase/email/notification.html b/src/pretix/base/templates/pretixbase/email/notification.html index cb7d9e7e96..76b70c2ddb 100644 --- a/src/pretix/base/templates/pretixbase/email/notification.html +++ b/src/pretix/base/templates/pretixbase/email/notification.html @@ -55,10 +55,12 @@ {% trans "You receive these emails based on your notification settings." %}
{% trans "Click here to view and change your notification settings" %} -
- - {% trans "Click here disable all notifications immediately." %} + {% if disable_url %}
+ + {% trans "Click here disable all notifications immediately." %} + + {% endif %}