app/soc/views/models/program.py
changeset 2479 b83c9b1ea0e1
parent 2437 32620683a7a6
child 2495 0113c2de89d3
equal deleted inserted replaced
2478:985fd974e095 2479:b83c9b1ea0e1
   635       items = []
   635       items = []
   636 
   636 
   637       if entity.status == 'visible':
   637       if entity.status == 'visible':
   638         # show the documents for this program, even for not logged in users
   638         # show the documents for this program, even for not logged in users
   639         items += document_view.view.getMenusForScope(entity, params)
   639         items += document_view.view.getMenusForScope(entity, params)
   640         items += survey_view.view.getMenusForScope(entity, params)
       
   641         items += self._getTimeDependentEntries(entity, params, id, user)
   640         items += self._getTimeDependentEntries(entity, params, id, user)
   642 
   641 
   643       try:
   642       try:
   644         # check if the current user is a host for this program
   643         # check if the current user is a host for this program
   645         rights.doCachedCheck('checkIsHostForProgram',
   644         rights.doCachedCheck('checkIsHostForProgram',