Ignore:
Timestamp:
1 Oct 2007, 07:26:30 (17 years ago)
Author:
Henrik Bettermann
Message:

jamb_lga and jamb_state removed from import layout

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_student/student_index.py

    r1845 r2297  
    55##bind script=script
    66##bind subpath=traverse_subpath
    7 ##parameters=batch=None
     7##parameters=batch=None,portal_status_message=None
    88##title=
    99##
     
    1212return the current student_index
    1313"""
    14 # from Products.AdvancedQuery import Eq, Between, Le,In
    15 # try:
    16 #     aq_portal = context.portal_catalog.evalAdvancedQuery
    17 # except:
    18 #     aq_portal = context.portal_catalog_real.evalAdvancedQuery
    1914
    2015request = context.REQUEST
     
    3631        return context.payments_view()
    3732    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())
    3937    elif context.portal_type == 'Payment':
    4038        return context.payment_receipt()
Note: See TracChangeset for help on using the changeset viewer.