Include link to waitlist management in admin notification
authorMagnus Hagander <magnus@hagander.net>
Mon, 26 May 2025 14:25:07 +0000 (16:25 +0200)
committerMagnus Hagander <magnus@hagander.net>
Mon, 26 May 2025 14:25:07 +0000 (16:25 +0200)
Fixes #183

postgresqleu/confreg/views.py

index 19c96f1b51c1046fff40418035a8a673e56d2c0c..2f0ab94a8766f21cc2ab699765ee1c7b7c8c8a97 100644 (file)
@@ -2431,7 +2431,12 @@ def waitlist_signup(request, confname):
     send_conference_notification(
         conference,
         'Waitlist signup',
-        'User {0} {1} <{2}> signed up for the waitlist.'.format(reg.firstname, reg.lastname, reg.email),
+        "User {0} {1} <{2}> signed up for the waitlist.\n\nWaitlist admin: {}".format(
+            reg.firstname,
+            reg.lastname,
+            reg.email,
+            '/events/admin/{}/waitlist/'.format(confname),
+        ),
     )
 
     # Once on the waitlist, redirect back to the registration form page