Changeset 1163 for WAeUP_SRP/trunk/skins/waeup_student/students_index.py
- Timestamp:
- 31 Dec 2006, 10:22:20 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/students_index.py
r1031 r1163 21 21 return redirect("%s/srp_anonymous_view" % context.portal_url()) 22 22 23 students_url = "%s/campus/students" % (context.portal_url .getPortalPath())23 students_url = "%s/campus/students" % (context.portal_url()) 24 24 25 25 if "ClearanceOfficers" in member.getGroups(): … … 28 28 return redirect("%s/search_students" % students_url) 29 29 if context.isStudent(): 30 info = context.getStudentInfo() 31 student = info['student'] 32 return redirect("%s/student_view" % student.absolute_url()) 30 id = str(member) 31 return redirect("%s/%s/student_view" % (students_url, id))
Note: See TracChangeset for help on using the changeset viewer.