Changeset 5258


Ignore:
Timestamp:
8 Jul 2010, 14:03:12 (14 years ago)
Author:
Henrik Bettermann
Message:

implement 2nd choice application (part 1) - completely untested !!!

Location:
WAeUP_SRP/trunk
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/default/applicants_catalog.xml

    r3706 r5258  
    1414 <column value="jamb_state"/>
    1515 <column value="jamb_lga"/>
     16 <column value="jamb_reg_no"/>
    1617 <column value="email"/>
    1718 <column value="phone"/>
     
    6162  <indexed_attr value="reg_no"/>
    6263 </index>
     64 <index name="jamb_reg_no" meta_type="FieldIndex">
     65  <indexed_attr value="jamb_reg_no"/>
     66 </index>
    6367 <index name="serial" meta_type="FieldIndex">
    6468  <indexed_attr value="serial"/>
  • WAeUP_SRP/trunk/profiles/default/layouts.xml

    r5165 r5258  
    5858  <object name="academics_search" meta_type="CPS Layout"/>
    5959  <object name="application_pume" meta_type="CPS Layout"/>
     60  <object name="application_pume2" meta_type="CPS Layout"/>
    6061  <object name="application_pde" meta_type="CPS Layout"/>
    6162  <object name="application_prence" meta_type="CPS Layout"/>
  • WAeUP_SRP/trunk/profiles/default/layouts/application_manage.xml

    r5170 r5258  
    10151015    <property name="css_class_expr">string:row</property>
    10161016  </widget>     
     1017  <widget name="jamb_reg_no" meta_type="String Widget">
     1018    <property name="title">JAMB Registration Number</property>
     1019    <property name="fields">
     1020      <element value="jamb_reg_no"/>
     1021    </property>
     1022    <property name="label">JAMB Registration Number</property>
     1023    <property name="label_edit">JAMB Registration Number</property>
     1024    <property name="description"></property>
     1025    <property name="help"></property>
     1026    <property name="is_i18n">False</property>
     1027    <property name="widget_mode_expr"></property>
     1028    <property name="readonly_layout_modes"/>
     1029    <property name="hidden_layout_modes">
     1030      <element value="create"/>
     1031    </property>
     1032    <property name="hidden_readonly_layout_modes"/>
     1033    <property name="css_class_expr">string:row</property>
     1034  </widget> 
    10171035
    10181036 <table>
     
    10351053   <cell name="lastname" ncols="2"/>
    10361054  </row>
     1055  <row>
     1056   <cell name="jamb_reg_no" ncols="2"/>
     1057  </row>     
    10371058  <row>
    10381059   <cell name="jamb_age" ncols="2"/>
  • WAeUP_SRP/trunk/profiles/default/schemas/import_application.xml

    r3706 r5258  
    2828 <field name="jamb_state" meta_type="CPS String Field"/>
    2929 <field name="jamb_lga" meta_type="CPS String Field"/>
     30 <field name="jamb_reg_no" meta_type="CPS String Field"/>
    3031 <field name="application_date" meta_type="CPS DateTime Field"/>
    3132 <field name="sex" meta_type="CPS Boolean Field"/>
  • WAeUP_SRP/trunk/profiles/default/vocabularies/screening_types.xml

    r5186 r5258  
    77
    88  <item key="pume" msgid="">PUME</item>
     9  <item key="pume2" msgid="">PUME 2nd Choice</item>
    910  <item key="pde" msgid="">PUDE</item>
    1011  <item key="cest" msgid="">CEST</item>
  • WAeUP_SRP/trunk/skins/waeup_student/apply_admission.py

    r5255 r5258  
    3131
    3232#manage = "manage" in request.keys()
    33 screening_types = ('prence','pume','pce','pde','cest','sandwich','dp','ct','pt','sandwich2008')
     33screening_types = ('prence','pume','pume2','pce','pde','cest','sandwich','dp','ct','pt','sandwich2008')
    3434if not (traverse_subpath and traverse_subpath[0] in screening_types):
    3535    return request.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url())
     
    3737headings = {}
    3838headings['pume'] = 'Apply for Post UME Screening Test (2010/2011)! '
     39headings['pume2'] = 'Apply for Post UME Screening Test 2010/2011 (Uniben as 2nd choice)!'
    3940headings['pde'] = 'Apply for Post UDE Screening Test (2010/2011)! '
    4041headings['prence'] = 'Apply for Pre-NCE Programme (2007/2008)! '
     
    5051headings_slip = {}
    5152headings_slip['pume'] = 'Post UME Screening (2010/2011) Acknowledgement Slip!'
     53headings_slip['pume2'] = 'Post UME Screening (2010/2011) Acknowledgement Slip (Uniben 2nd choice)!'
    5254headings_slip['pde'] = 'Post UDE Screening (2010/2011) Acknowledgement Slip'
    5355headings_slip['prence'] = 'Pre-NCE Application (2007/2008) Acknowledgement Slip'
     
    6769
    6870deaddates['pume'] = DateTime.DateTime(pprops.date1)
     71deaddates['pume2'] = DateTime.DateTime(pprops.date1)
    6972deaddates['pde'] = DateTime.DateTime(pprops.date2)
    7073deaddates['prence'] = DateTime.DateTime(pprops.date1)
     
    8588confirm = {}
    8689confirm['pume'] = "I confirm that the Passport Photograph uploaded on this form is a true picture of me."
     90confirm['pume2'] = "I confirm that the Passport Photograph uploaded on this form is a true picture of me."
    8791confirm['pde'] = "I confirm that the Passport Photograph uploaded on this form is a true picture of me."
    8892confirm['prence'] = "I confirm that the Passport Photograph uploaded on this form is a true picture of me."
Note: See TracChangeset for help on using the changeset viewer.