Changeset 2297 for WAeUP_SRP/base/skins/waeup_student
- Timestamp:
- 1 Oct 2007, 07:26:30 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_student/student_index.py
r1845 r2297 5 5 ##bind script=script 6 6 ##bind subpath=traverse_subpath 7 ##parameters=batch=None 7 ##parameters=batch=None,portal_status_message=None 8 8 ##title= 9 9 ## … … 12 12 return the current student_index 13 13 """ 14 # from Products.AdvancedQuery import Eq, Between, Le,In15 # try:16 # aq_portal = context.portal_catalog.evalAdvancedQuery17 # except:18 # aq_portal = context.portal_catalog_real.evalAdvancedQuery19 14 20 15 request = context.REQUEST … … 36 31 return context.payments_view() 37 32 elif context.portal_type == 'Student': 38 return redirect("%s/student_view" % context.absolute_url()) 33 if portal_status_message: 34 return redirect("%s/student_view?portal_status_message=%s" % (context.absolute_url(),portal_status_message)) 35 else: 36 return redirect("%s/student_view" % context.absolute_url()) 39 37 elif context.portal_type == 'Payment': 40 38 return context.payment_receipt()
Note: See TracChangeset for help on using the changeset viewer.