670 "Create a New Document", 'any_access')] |
670 "Create a New Document", 'any_access')] |
671 # add link to list all Program Document |
671 # add link to list all Program Document |
672 items += [(redirects.getListDocumentsRedirect(entity, 'program'), |
672 items += [(redirects.getListDocumentsRedirect(entity, 'program'), |
673 "List Documents", 'any_access')] |
673 "List Documents", 'any_access')] |
674 # add link to create a new Program Survey |
674 # add link to create a new Program Survey |
675 items += [(redirects.getCreateSurveyRedirect(entity, 'program'), |
675 items += [(redirects.getCreateSurveyRedirect(entity, 'program', |
|
676 'survey'), |
676 "Create a New Survey", 'any_access')] |
677 "Create a New Survey", 'any_access')] |
677 # add link to list all Program Surveys |
678 # add link to list all Program Surveys |
678 items += [(redirects.getListSurveysRedirect(entity, 'program'), |
679 items += [(redirects.getListSurveysRedirect(entity, 'program', |
|
680 'survey'), |
679 "List Surveys", 'any_access')] |
681 "List Surveys", 'any_access')] |
|
682 # add link to create a new Project Survey |
|
683 items += [(redirects.getCreateSurveyRedirect(entity, 'program', |
|
684 'project_survey'), |
|
685 "Create a New Project Survey", 'any_access')] |
|
686 # add link to list all Project Surveys |
|
687 items += [(redirects.getListSurveysRedirect(entity, 'program', |
|
688 'project_survey'), |
|
689 "List Project Surveys", 'any_access')] |
|
690 # add link to create a new Grading Survey |
|
691 items += [(redirects.getCreateSurveyRedirect(entity, 'program', |
|
692 'grade_survey'), |
|
693 "Create a New Grading Survey", 'any_access')] |
|
694 # add link to list all Grading Surveys |
|
695 items += [(redirects.getListSurveysRedirect(entity, 'program', |
|
696 'grade_survey'), |
|
697 "List Grading Surveys", 'any_access')] |
680 |
698 |
681 except out_of_band.Error: |
699 except out_of_band.Error: |
682 pass |
700 pass |
683 |
701 |
684 items = sidebar.getSidebarMenu(id, user, items, params=params) |
702 items = sidebar.getSidebarMenu(id, user, items, params=params) |