summaryrefslogtreecommitdiff
path: root/postgresqleu/confreg/views.py
diff options
context:
space:
mode:
authorMagnus Hagander2023-08-02 13:28:17 +0000
committerMagnus Hagander2023-08-02 13:28:17 +0000
commit0434f593042beea896465230ee2e09e00ffb5854 (patch)
treeabedd9c02183343bc197b8f31882d6d49a79a2a4 /postgresqleu/confreg/views.py
parentb28931d29e91672ad5dcb2f7debef5b9ac8c6ed9 (diff)
Show which track a session is confirmed in when it's confirmed
If there was a choice of tracks available when the speaker submitted, also confirm to them which track they were accepted in, as this is somethign that may have been changed by the organisers (pgeu uses tracks for example for FOSDEM to separate out the different days). If tracks are not choosable in the cfp form, then we don't change the notification. Fixes #5
Diffstat (limited to 'postgresqleu/confreg/views.py')
-rw-r--r--postgresqleu/confreg/views.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/postgresqleu/confreg/views.py b/postgresqleu/confreg/views.py
index c58d0dab..bc1b59ce 100644
--- a/postgresqleu/confreg/views.py
+++ b/postgresqleu/confreg/views.py
@@ -1898,6 +1898,7 @@ def _send_session_notification(session):
'conference': session.conference,
'session': session,
'speaker': spk,
+ 'has_track_selection': session.conference.track_set.filter(incfp=True).count() > 0,
},
receivername=spk.fullname,
)