From 91d99d5f14f28372680e3933590061694e683d33 Mon Sep 17 00:00:00 2001 From: Richard Schreiber Date: Mon, 23 Oct 2023 13:42:57 +0200 Subject: [PATCH] Waitinglist: add email-address to confirmation text (#3662) --- src/pretix/presale/views/waiting.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pretix/presale/views/waiting.py b/src/pretix/presale/views/waiting.py index 7b5891712b..e1851c41d6 100644 --- a/src/pretix/presale/views/waiting.py +++ b/src/pretix/presale/views/waiting.py @@ -128,8 +128,10 @@ class WaitingView(EventViewMixin, FormView): form.save() form.instance.log_action("pretix.event.orders.waitinglist.added") - messages.success(self.request, _("We've added you to the waiting list. You will receive " - "an email as soon as this product gets available again.")) + messages.success(self.request, _( + "We've added you to the waiting list. We will send an email " + "to {email} as soon as this product gets available again." + ).format(email=form.instance.email)) return super().form_valid(form) def get_success_url(self):