Changeset 901 for WAeUP_SRP/trunk/skins/waeup_default
- Timestamp:
- 20 Nov 2006, 07:33:16 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_default
- Files:
-
- 2 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_default/campus_index.py
r805 r901 22 22 campus = context.portal_catalog(meta_type = "University")[-1].getObject() 23 23 24 if context.isManager():25 return redirect("%s/campus_manager_view" % campus.absolute_url())26 27 24 if context.isStudent(): 28 25 return redirect("%s/students_index" % campus.students.absolute_url()) 26 else: 27 return redirect("%s/campus_view" % campus.absolute_url()) 29 28 -
WAeUP_SRP/trunk/skins/waeup_default/index_html.py
r805 r901 19 19 if pm.isAnonymousUser(): 20 20 return redirect("%s/srp_anonymous_view" % request.get('URL1')) 21 elif context.isStudent(): 22 return redirect("%s/srp_anonymous_view" % context.absolute_url()) 23 else: 24 return redirect("%s/srp_view" % context.absolute_url()) 21 25 22 if context.isManager():23 return redirect("%s/srp_manager_view" % context.absolute_url())24 25 if context.isStudent():26 return redirect("%s/srp_anonymous_view" % context.absolute_url())27
Note: See TracChangeset for help on using the changeset viewer.