Added link for students to resign their profile to the Program menu.
authorLennard de Rijk <ljvderijk@gmail.com>
Mon, 03 Aug 2009 17:33:58 +0200
changeset 2719 c8841000b863
parent 2718 a5d70c9e871f
child 2720 3f652b37e177
Added link for students to resign their profile to the Program menu. Fixes Issue 549.
app/soc/views/models/program.py
--- a/app/soc/views/models/program.py	Mon Aug 03 17:32:34 2009 +0200
+++ b/app/soc/views/models/program.py	Mon Aug 03 17:33:58 2009 +0200
@@ -833,6 +833,10 @@
           {'url_name':'student'}),
           "List my Student Projects", 'any_access')]
 
+    items += [(redirects.getManageRedirect(student_entity,
+        {'url_name':'student'}),
+        "Resign as a Student", 'any_access')]
+
     return items
 
   def _getOrganizationEntries(self, program_entity, org_admin_entity,