Add "Edit my Student Profile" link to program menu.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
--- 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,