app/soc/views/models/program.py
changeset 2706 198926c38229
parent 2543 4c95d717a976
child 2719 c8841000b863
equal deleted inserted replaced
2705:0b38d59d958f 2706:198926c38229
   705             "Create a New Grading Survey", 'any_access')]
   705             "Create a New Grading Survey", 'any_access')]
   706         # add link to list all Grading Surveys
   706         # add link to list all Grading Surveys
   707         items += [(redirects.getListSurveysRedirect(entity, 'program',
   707         items += [(redirects.getListSurveysRedirect(entity, 'program',
   708             'grading_project_survey'),
   708             'grading_project_survey'),
   709             "List Grading Surveys", 'any_access')]
   709             "List Grading Surveys", 'any_access')]
       
   710         # add link to withdraw Student Projects
       
   711         items += [(redirects.getWithdrawRedirect(
       
   712             entity, {'url_name': 'student_project'}),
       
   713             "Withdraw Student Projects", 'any_access')]
   710 
   714 
   711       except out_of_band.Error:
   715       except out_of_band.Error:
   712         pass
   716         pass
   713 
   717 
   714       items = sidebar.getSidebarMenu(id, user, items, params=params)
   718       items = sidebar.getSidebarMenu(id, user, items, params=params)