@@ -299,6 +299,8 @@ def document_main(request, name, rev=None):
299299 status_changes = [ rel .document for rel in status_change_docs if rel .document .get_state_slug () in ('appr-sent' ,'appr-pend' )]
300300 proposed_status_changes = [ rel .document for rel in status_change_docs if rel .document .get_state_slug () in ('needshep' ,'adrev' ,'iesgeval' ,'defer' ,'appr-pr' )]
301301
302+ presentations = doc .future_presentations ()
303+
302304 # remaining actions
303305 actions = []
304306
@@ -361,6 +363,7 @@ def document_main(request, name, rev=None):
361363 table_rows ['stream' ] += 1 if consensus else 0
362364 table_rows ['stream' ] += 1 if shepherd_writeup or can_edit_shepherd_writeup else 0
363365 table_rows ['stream' ] += 1 if published and started_iesg_process and published .time < started_iesg_process .time else 0
366+ table_rows ['stream' ] += 1 if presentations or can_edit_stream_info else 0
364367
365368 table_rows ['iesg' ] += 1 if iesg_state and (doc .note or can_edit ) else 0
366369
@@ -422,6 +425,7 @@ def document_main(request, name, rev=None):
422425 search_archive = search_archive ,
423426 actions = actions ,
424427 tracking_document = tracking_document ,
428+ presentations = presentations ,
425429 ),
426430 context_instance = RequestContext (request ))
427431
@@ -540,13 +544,15 @@ def document_main(request, name, rev=None):
540544
541545 if doc .type_id in ("slides" , "agenda" , "minutes" ):
542546 can_manage_material = can_manage_materials (request .user , doc .group )
543- presentations = None
544- if doc .type_id == 'slides' and doc .get_state_slug ('slides' )== 'active' :
545- presentations = doc .future_presentations ()
547+ #presentations = None
548+ #if doc.type_id=='slides' and doc.get_state_slug('slides')=='active' :
549+ # presentations = doc.future_presentations()
550+ presentations = doc .future_presentations ()
546551 if doc .meeting_related ():
547- # disallow editing meeting-related stuff through this
548- # interface for the time being
549- can_manage_material = False
552+ ## disallow editing meeting-related stuff through this
553+ ## interface for the time being
554+ # Now try allowing it
555+ # can_manage_material = False
550556 basename = doc .canonical_name () # meeting materials are unversioned at the moment
551557 if doc .external_url :
552558 # we need to remove the extension for the globbing below to work
0 commit comments