Changeset 2374


Ignore:
Timestamp:
17 Oct 2007, 19:36:22 (17 years ago)
Author:
Henrik Bettermann
Message:

implementation of recent requests (see ticket #360)

Location:
WAeUP_SRP
Files:
1 added
7 edited

Legend:

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

    r2340 r2374  
    8686headings = {}
    8787headings['pume'] = 'Apply for Post UME Screening Test (2007/2008)! '
    88 headings['pde'] = 'Apply for Post DE Screening Test (2007/2008)! '
     88headings['pde'] = 'Apply for Post UDE Screening Test (2007/2008)! '
    8989headings['prence'] = 'Apply for Pre-NCE Programme (2007/2008)! '
    9090headings['pce'] = 'Apply for PCE Screening (2007/2008)! '
     
    9292headings_slip = {}
    9393headings_slip['pume'] = 'Post UME Screening (2007/2008) Aknowledgement Slip!'
    94 headings_slip['pde'] = 'Post DE Screening (2007/2008) Aknowledgement Slip'
     94headings_slip['pde'] = 'Post UDE Screening (2007/2008) Aknowledgement Slip'
    9595headings_slip['prence'] = 'Pre-NCE Application (2007/2008) Aknowledgement Slip'
    9696headings_slip['pce'] = 'PCE Screening (2007/2008) Aknowledgement Slip'
    9797headings_slip['cest'] = 'Common Entrance Screening (2007/2008) Aknowledgement Slip'
     98
     99deadline = {}
     100deadline['pume'] = '[Date of PUME Deadline]'
     101deadline['pde'] = '[Date of PUDE Deadline]'
     102deadline['prence'] = '[Date of PRENCE Deadline]'
     103deadline['pce'] = '[Date of PCE Deadline]'
     104deadline['cest'] = '[Date of CEST Deadline]'
     105
    98106info = {}
     107
    99108if traverse_subpath and traverse_subpath[0] in screening_types:
    100109    screening_type = info['screening_type'] = traverse_subpath[0]
    101110    info['heading'] = headings[screening_type]
    102111    info['heading_slip'] = headings_slip[screening_type]
     112    info['deadline'] = deadline[screening_type]
    103113    layout = "application_%s" % screening_type
    104114    without_reg_no = screening_type in ('prence',)
     
    111121    info['heading'] = headings[screening_type]
    112122    info['heading_slip'] = headings_slip[screening_type]
     123    info['deadline'] = deadline[screening_type]
    113124    layout = "application_%s" % screening_type
    114125    without_reg_no = screening_type in ('prence',)
  • WAeUP_SRP/base/skins/waeup_student/apply_admission_form.pt

    r2371 r2374  
    66           info options/info;
    77           expired python:not info['screening_type']=='pde';
     8           deadline info/deadline
    89           "
    910           >
     
    7172            </ul>
    7273            <br />
    73             <font color="red">Application submission deadline is at Midnight on Thursday, 6th September 2007
     74            <font color="red">Application submission deadline is at Midnight on <span tal:content="deadline" />
    7475            No application will be treated after the deadline. </font>
    7576          </metal:block>
  • WAeUP_SRP/base/skins/waeup_student/apply_admission_slip.pt

    r2328 r2374  
    1616       
    1717        The applicant has confirmed that the picture shown on this slip is a true picture of him/her.
    18 
     18        <br /><br />
     19        <font color="red">
     20        Notice: Please come back and check for the screening venue as from 30th October.
     21        </font>
    1922      </metal:block>
    2023    </metal:block>
  • WAeUP_SRP/fceokene/profiles/default/layouts/application_manage.xml

    r2368 r2374  
    692692  </widget>
    693693
    694    
     694
    695695  <widget name="hq_grade" meta_type="Select Widget">
    696696    <property name="title">Higher Qualification Grade</property>
     
    708708    <property name="vocabulary">high_grade</property>
    709709  </widget>
     710 
     711  <widget name="aos" meta_type="Select Widget">
     712    <property name="title">Area of Specialisation</property>
     713    <property name="fields">
     714      <element value="subj3"/>
     715    </property>
     716    <property name="label">Area of Specialisation</property>
     717    <property name="label_edit">Area of Specialisation</property>
     718    <property name="description"></property>
     719    <property name="help"></property>
     720    <property name="is_i18n">False</property>
     721    <property name="widget_mode_expr"></property>
     722    <property name="readonly_layout_modes">
     723    </property>
     724    <property name="hidden_layout_modes">
     725      <element value="create"/>
     726    </property>
     727    <property name="hidden_readonly_layout_modes"/>
     728    <property name="vocabulary">aos</property>
     729    <property name="sorted">True</property>
     730    <property name="css_class_expr">string:row</property>
     731  </widget> 
    710732
    711733 <table>
     
    736758  <row>
    737759   <cell name="jamb_lga" ncols="2"/>
    738   </row> 
     760  </row>
    739761  <row>
    740762   <cell name="lga" ncols="2"/>
    741   </row> 
    742  
     763  </row>
     764
    743765  <row>
    744766   <cell name="sex" ncols="2"/>
     
    755777  <row>
    756778   <cell name="hq_grade" ncols="2"/>
    757   </row>     
    758  
     779  </row>
     780  <row>
     781   <cell name="aos" ncols="2"/>
     782  </row>
    759783  <row>
    760784   <cell name="eng_score" ncols="2"/>
  • WAeUP_SRP/fceokene/profiles/default/layouts/application_pde.xml

    r2368 r2374  
    701701    <property name="vocabulary">high_qual</property>
    702702  </widget>
    703  
    704  
     703
     704
    705705  <widget name="hq_grade" meta_type="Select Widget">
    706706    <property name="title">Higher Qualification Grade</property>
     
    720720  </widget>
    721721
     722  <widget name="aos" meta_type="Select Widget">
     723    <property name="title">Area of Specialisation</property>
     724    <property name="fields">
     725      <element value="subj3"/>
     726    </property>
     727    <property name="label">Area of Specialisation</property>
     728    <property name="label_edit">Area of Specialisation</property>
     729    <property name="description"></property>
     730    <property name="help"></property>
     731    <property name="is_i18n">False</property>
     732    <property name="widget_mode_expr"></property>
     733    <property name="readonly_layout_modes">
     734    </property>
     735    <property name="hidden_layout_modes">
     736      <element value="create"/>
     737    </property>
     738    <property name="hidden_readonly_layout_modes"/>
     739    <property name="vocabulary">aos</property>
     740    <property name="sorted">True</property>
     741    <property name="css_class_expr">string:row</property>
     742  </widget> 
     743
    722744 <table>
    723745  <row>
     
    747769   <cell name="lga" ncols="2"/>
    748770  </row>
    749  
     771
    750772  <row>
    751773   <cell name="hq_type" ncols="2"/>
     
    753775  <row>
    754776   <cell name="hq_grade" ncols="2"/>
    755   </row>   
    756 
     777  </row>
     778  <row>
     779   <cell name="aos" ncols="2"/>
     780  </row>
    757781  <row>
    758782   <cell name="email" ncols="2"/>
  • WAeUP_SRP/fceokene/profiles/default/schemas/application.xml

    r2368 r2374  
    3939 <field name="hq_grade" meta_type="CPS String Field"/>
    4040 <field name="screening_venue" meta_type="CPS String Field"/>
     41 <field name="aos" meta_type="CPS String Field"/>
    4142</object>
  • WAeUP_SRP/fceokene/profiles/default/vocabularies.xml

    r2322 r2374  
    4242 <object name="cos" meta_type="CPS Vocabulary"/>
    4343 <object name="screening_types" meta_type="CPS Vocabulary"/>
     44 <object name="aos" meta_type="CPS Vocabulary"/>
    4445 </object>
Note: See TracChangeset for help on using the changeset viewer.