summaryrefslogtreecommitdiff
path: root/postgresqleu/util/backendviews.py
diff options
context:
space:
mode:
authorMagnus Hagander2018-12-19 13:31:23 +0000
committerMagnus Hagander2018-12-19 13:39:11 +0000
commit88ede325b9f6bedd12cc9d8f9453a45a9e28a794 (patch)
tree651b80d171a4188673ab925b1d06c14c716a7d4e /postgresqleu/util/backendviews.py
parent7cac765c3b90d21ab01517f1fe39c86dc8213279 (diff)
Add support for emailing individual attendees
* Add the ability to track emails against individual attendees and not just registration classes. * Add the ability to track emails to users who are not yet registered (but they must have a user account as that's what we track against). These emails gets automatically attached to the registration once the user registers. * Add support to the registration dashboard listing for ticking of attendees to send email to, and to send it. * Add generic support to the admin backend for the same, and enable this support for sessions (more can be adde din the future). * Change the admin list of emails to collapse when there are many emails sent, and not overflow the screen. This as it's more likely that many emails are sent now. Create a file called admin.js for this -- more should probably be migrated over to this file instead of living in individual HTML files, but that's for a later commit.
Diffstat (limited to 'postgresqleu/util/backendviews.py')
-rw-r--r--postgresqleu/util/backendviews.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/postgresqleu/util/backendviews.py b/postgresqleu/util/backendviews.py
index e22a5692..d9863e91 100644
--- a/postgresqleu/util/backendviews.py
+++ b/postgresqleu/util/backendviews.py
@@ -202,6 +202,7 @@ def backend_list_editor(request, urlname, formclass, resturl, allow_new=True, al
'allow_new': allow_new,
'allow_delete': allow_delete,
'allow_copy_previous': formclass.allow_copy_previous,
+ 'allow_email': formclass.allow_email,
'breadcrumbs': breadcrumbs,
'helplink': formclass.helplink,
})