Changeset 2297 for WAeUP_SRP/base/skins


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

jamb_lga and jamb_state removed from import layout

Location:
WAeUP_SRP/base/skins
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_default/mail2admin.py

    r2296 r2297  
    2121d['descr'] = descr
    2222
    23 #prop.email_from_address should be used for To:
    24 
    2523message = """
    2624From: %(fullname)s <%(email)s>
    2725To: %(email_from)s
    2826Cc: %(email)s
    29 Bcc: 'henrik@waeup.org'
     27Bcc: 'waeup@saoas.org'
    3028Reply-To: %(email)s
    3129Subject: Uniben Contact
  • 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.