Changeset 681 for WAeUP_SRP/trunk/skins/waeup_academics
- Timestamp:
- 13 Oct 2006, 06:43:39 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_academics/academics_index.py
r653 r681 18 18 19 19 if pm.isAnonymousUser(): 20 return redirect("%s/academics_contents" % context.absolute_url()) 21 22 campus = context.portal_catalog(meta_type = "University")[-1].getObject() 23 24 if context.isManager() or context.isStudent(): 20 return redirect("%s/srp_anonymous_view" % context.portal_url()) 21 else: 25 22 if context.portal_type == 'AcademicsFolder': 26 23 return context.academics.academics_view() … … 37 34 elif context.portal_type in ('CertificateCourse','Course'): 38 35 return context.academics_document_view() 39 return redirect("%s/academics_contents" % context.absolute_url()) 40 else: 41 return redirect("%s/academics_contents" % context.absolute_url()) 36 return redirect("%s/srp_manager_view" % context.portal_url()) 42 37
Note: See TracChangeset for help on using the changeset viewer.