app/soc/views/models/program.py
changeset 2719 c8841000b863
parent 2706 198926c38229
child 2771 eb654b51053b
equal deleted inserted replaced
2718:a5d70c9e871f 2719:c8841000b863
   831       # add a link to show all projects
   831       # add a link to show all projects
   832       items += [(redirects.getListProjectsRedirect(program_entity,
   832       items += [(redirects.getListProjectsRedirect(program_entity,
   833           {'url_name':'student'}),
   833           {'url_name':'student'}),
   834           "List my Student Projects", 'any_access')]
   834           "List my Student Projects", 'any_access')]
   835 
   835 
       
   836     items += [(redirects.getManageRedirect(student_entity,
       
   837         {'url_name':'student'}),
       
   838         "Resign as a Student", 'any_access')]
       
   839 
   836     return items
   840     return items
   837 
   841 
   838   def _getOrganizationEntries(self, program_entity, org_admin_entity,
   842   def _getOrganizationEntries(self, program_entity, org_admin_entity,
   839                               mentor_entity, params, id, user):
   843                               mentor_entity, params, id, user):
   840     """Returns a list with menu items for org admins and mentors in a
   844     """Returns a list with menu items for org admins and mentors in a