app/soc/views/models/program.py
changeset 1996 ae53f21abb9b
parent 1971 0b7f57c16fee
child 2004 4d9e41c947fd
equal deleted inserted replaced
1995:768f533d91e3 1996:ae53f21abb9b
   687           "Submit your Student Proposal", 'any_access')]
   687           "Submit your Student Proposal", 'any_access')]
   688       items += [(redirects.getListSelfRedirect(student_entity,
   688       items += [(redirects.getListSelfRedirect(student_entity,
   689           {'url_name':'student_proposal'}),
   689           {'url_name':'student_proposal'}),
   690          "List my Student Proposals", 'any_access')]
   690          "List my Student Proposals", 'any_access')]
   691 
   691 
       
   692     items += [(redirects.getEditRedirect(student_entity, 
       
   693                                          {'url_name': 'student'}),
       
   694               "Edit my Student Profile", 'any_access')]
       
   695 
   692     return items
   696     return items
   693 
   697 
   694   def _getOrganizationEntries(self, program_entity, org_admin_entity,
   698   def _getOrganizationEntries(self, program_entity, org_admin_entity,
   695                               mentor_entity, params, id, user):
   699                               mentor_entity, params, id, user):
   696     """Returns a list with menu items for org admins and mentors in a
   700     """Returns a list with menu items for org admins and mentors in a