equal
deleted
inserted
replaced
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', |