1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-07-02 02:38:31 +02:00

Add survey notification in the menu

This commit is contained in:
Emmy D'Anello
2025-03-19 23:56:53 +01:00
parent 702c8d8c9e
commit 97eea3b11a
11 changed files with 450 additions and 339 deletions

View File

@ -145,9 +145,9 @@ class AddOrganizerView(VolunteerMixin, CreateView):
password=password,
domain=site.domain))
html = render_to_string('registration/mails/add_organizer.html', dict(user=registration.user,
inviter=self.request.user,
password=password,
domain=site.domain))
inviter=self.request.user,
password=password,
domain=site.domain))
registration.user.email_user(subject, message, html_message=html)
if registration.is_admin: