forked from CGM_Public/pretix_original
Waitinglist: add email-address to confirmation text (#3662)
This commit is contained in:
committed by
GitHub
parent
83c6dd4d6b
commit
91d99d5f14
@@ -128,8 +128,10 @@ class WaitingView(EventViewMixin, FormView):
|
|||||||
|
|
||||||
form.save()
|
form.save()
|
||||||
form.instance.log_action("pretix.event.orders.waitinglist.added")
|
form.instance.log_action("pretix.event.orders.waitinglist.added")
|
||||||
messages.success(self.request, _("We've added you to the waiting list. You will receive "
|
messages.success(self.request, _(
|
||||||
"an email as soon as this product gets available again."))
|
"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)
|
return super().form_valid(form)
|
||||||
|
|
||||||
def get_success_url(self):
|
def get_success_url(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user