Merged in [17835] from pusateri@bangj.com:

Add agenda_note and remote_instructions to agenda.json API.  Fixes #2955.
 - Legacy-Id: 17853
Note: SVN reference [17835] has been migrated to Git commit d275a78bce
This commit is contained in:
Henrik Levkowetz 2020-05-20 12:06:23 +00:00
commit f53d03e7ef
2 changed files with 6 additions and 0 deletions

View file

@ -1405,6 +1405,10 @@ def json_agenda(request, num=None ):
sessdict['name'] = asgn.session.historic_group.name
if asgn.session.short:
sessdict['short'] = asgn.session.short
if asgn.session.agenda_note:
sessdict['agenda_note'] = asgn.session.agenda_note
if asgn.session.remote_instructions:
sessdict['remote_instructions'] = asgn.session.remote_instructions
sessdict['start'] = asgn.timeslot.utc_start_time().strftime("%Y-%m-%dT%H:%M:%SZ")
sessdict['duration'] = str(asgn.timeslot.duration)
sessdict['location'] = asgn.room_name

View file

@ -7,6 +7,8 @@
# --- Add entries at the top ---
/personal/housley/6.130.2.dev0@17843
/personal/rcross/6.130.1.dev0@17804
/personal/rcross/6.130.1.dev0@17803