Waitinglist: add email-address to confirmation text (#3662)

This commit is contained in:
Richard Schreiber
2023-10-23 13:42:57 +02:00
committed by GitHub
parent 83c6dd4d6b
commit 91d99d5f14

View File

@@ -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):