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:
commit
f53d03e7ef
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue