Changeset 2297


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
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/WAeUPTool.py

    r2292 r2297  
    432432        #from pdb import set_trace; set_trace()
    433433        d = {}
    434         d['jamb_sex']  = 'M'
    435         if dict.get('sex'):
    436             d['jamb_sex']  = 'F'
     434        #d['jamb_sex']  = 'M'
     435        #if dict.get('sex'):
     436        #    d['jamb_sex']  = 'F'
    437437
    438438        entry_session = dict.get('entry_session')
     
    11251125                              'app_email',
    11261126                              'jamb_age',
    1127                               'jamb_state',
    1128                               'jamb_lga',
     1127                              #'jamb_state',
     1128                              #'jamb_lga',
    11291129                              )
    11301130                              },
  • 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()
  • WAeUP_SRP/fceokene/profiles/default/layouts/import_student.xml

    r2268 r2297  
    263263 </widget>
    264264
    265  <widget name="jamb_lga" meta_type="String Widget">
    266   <property name="title">JAMB LGA</property>
    267   <property name="fields">
    268    <element value="jamb_lga"/>
    269   </property>
    270   <property name="label">JAMB LGA</property>
    271   <property name="label_edit">JAMB LGA</property>
    272   <property name="readonly_layout_modes"/>
    273   <property name="hidden_layout_modes">
    274       edit
    275   </property>
    276   <property name="hidden_readonly_layout_modes"/>
    277  </widget>
    278 
    279   <widget name="jamb_state" meta_type="String Widget">
    280   <property name="title">JAMB State</property>
    281   <property name="fields">
    282    <element value="jamb_state"/>
    283   </property>
    284   <property name="label">JAMB State</property>
    285   <property name="label_edit">JAMB State</property>
    286   <property name="readonly_layout_modes"/>
    287   <property name="hidden_layout_modes">
    288       edit
    289   </property>
    290   <property name="hidden_readonly_layout_modes"/>
    291  </widget>
    292 
    293265 <widget name="matric_no" meta_type="String Widget">
    294266  <property name="title">Matriculation No</property>
Note: See TracChangeset for help on using the changeset viewer.