# HG changeset patch # User Lennard de Rijk # Date 1237839317 0 # Node ID ae53f21abb9b274a2ac6901c1e124fba9e4d9be2 # Parent 768f533d91e3c7d47c09cd5c376820ba54475240 Add "Edit my Student Profile" link to program menu. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed diff -r 768f533d91e3 -r ae53f21abb9b app/soc/views/models/program.py --- a/app/soc/views/models/program.py Mon Mar 23 20:05:00 2009 +0000 +++ b/app/soc/views/models/program.py Mon Mar 23 20:15:17 2009 +0000 @@ -689,6 +689,10 @@ {'url_name':'student_proposal'}), "List my Student Proposals", 'any_access')] + items += [(redirects.getEditRedirect(student_entity, + {'url_name': 'student'}), + "Edit my Student Profile", 'any_access')] + return items def _getOrganizationEntries(self, program_entity, org_admin_entity,