Changeset 790


Ignore:
Timestamp:
8 Nov 2006, 13:42:49 (18 years ago)
Author:
joachim
Message:

clearance_edit polished,

Location:
WAeUP_SRP/trunk
Files:
1 added
6 edited
1 copied
1 moved

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/Students.py

    r785 r790  
    387387            else:
    388388                wftool.doActionFor(student,'pume_fail')
    389                 wftool.doActionFor(student,'finally_reject')
     389                wftool.doActionFor(student,'reject_admission')
    390390            if len(no_import) > 1:
    391391                open("%s/import/%s_not_imported.csv" % (i_home,name),"w").write(
  • WAeUP_SRP/trunk/profiles/default/layouts/student_clearance.xml

    r788 r790  
    224224  <property name="hidden_readonly_layout_modes"/>
    225225 </widget>
    226  <widget name="email" meta_type="Email Widget">
    227   <property name="title">Email</property>
    228   <property name="fields">
    229    <element value="email"/>
    230   </property>
    231   <property name="label">Email</property>
    232   <property name="label_edit">Email</property>
    233   <property name="readonly_layout_modes"/>
    234   <property name="hidden_layout_modes">
    235     <element value="create"/>
    236   </property>
    237   <property name="hidden_readonly_layout_modes"/>
    238  </widget>
    239226 <widget name="entry_date" meta_type="Date Widget">
    240227  <property name="title">Entry Date</property>
     
    754741  </row>
    755742  <row>
    756    <cell name="email"/>
    757   </row>
    758   <row>
    759743   <cell name="fst_sit_fname"/>
    760744  </row>
  • WAeUP_SRP/trunk/profiles/default/layouts/student_clearance_fe.xml

    r788 r790  
    5555  </property>
    5656  <property name="hidden_readonly_layout_modes"/>
     57  <property name="render_format">radio</property>   
    5758 </widget>
    5859 <widget name="age_dec" meta_type="Image Widget">
     
    9394  <property name="label">Fullname</property>
    9495  <property name="label_edit">Fullname</property>
     96  <property name="description">Advanced Level Data</property>
    9597  <property
    9698     name="help">Fullname as it appears on certificate/result</property>
     
    138140  <property name="label">Birth Certificate</property>
    139141  <property name="label_edit">Birth Certificate</property>
     142  <property name="description">Other Documents</property>
    140143  <property name="readonly_layout_modes"/>
    141144  <property name="hidden_layout_modes">
     
    223226  </property>
    224227  <property name="hidden_readonly_layout_modes"/>
    225  </widget>
    226  <widget name="email" meta_type="Email Widget">
    227   <property name="title">Email</property>
    228   <property name="fields">
    229    <element value="email"/>
    230   </property>
    231   <property name="label">Email</property>
    232   <property name="label_edit">Email</property>
    233   <property name="readonly_layout_modes"/>
    234   <property name="hidden_layout_modes">
    235     <element value="create"/>
    236   </property>
    237   <property name="hidden_readonly_layout_modes"/>
     228  <property name="render_format">radio</property>   
    238229 </widget>
    239230 <widget name="entry_date" meta_type="Date Widget">
     
    300291  <property name="label">First Choice</property>
    301292  <property name="label_edit">First Choice</property>
    302   <property name="readonly_layout_modes"/>
    303   <property name="hidden_layout_modes">
    304     <element value="create"/>
    305   </property>
    306   <property name="hidden_readonly_layout_modes"/>
     293  <property name="description">Administrative Data</property>
     294  <property name="readonly_layout_modes"/>
     295  <property name="hidden_layout_modes">
     296    <element value="create"/>
     297  </property>
     298  <property name="hidden_readonly_layout_modes"/>
     299  <property name="render_format">radio</property>   
    307300 </widget>
    308301 <widget name="fst_sit_date" meta_type="Date Widget">
     
    326319  <property name="label">Fullname</property>
    327320  <property name="label_edit">Fullname</property>
     321  <property name="description">First Sitting Data</property>
    328322  <property
    329323     name="help">Fullname as it appears on certificate/result</property>
     
    398392  <property name="label">Higher Qualification Grade</property>
    399393  <property name="label_edit">Higher Qualification Grade</property>
     394  <property name="description">Higher Qualification Data</property>
    400395  <property name="readonly_layout_modes"/>
    401396  <property name="hidden_layout_modes">
     
    615610  </property>
    616611  <property name="hidden_readonly_layout_modes"/>
     612  <property name="render_format">radio</property>   
    617613 </widget>
    618614 <widget name="scd_sit_date" meta_type="Date Widget">
     
    636632  <property name="label">Fullname</property>
    637633  <property name="label_edit">Fullname</property>
     634  <property name="description">Second Sitting  Level Data</property>
    638635  <property
    639636     name="help">Fullname as it appears on certificate/result</property>
     
    717714  </property>
    718715  <property name="hidden_readonly_layout_modes"/>
     716  <property name="render_format">radio</property>   
    719717 </widget>
    720718 <widget name="uniben" meta_type="Boolean Widget">
     
    730728  </property>
    731729  <property name="hidden_readonly_layout_modes"/>
     730  <property name="render_format">radio</property>   
    732731 </widget>
    733732 <table>
     
    752751  <row>
    753752   <cell name="nationality"/>
    754   </row>
    755   <row>
    756    <cell name="email"/>
    757753  </row>
    758754  <row>
  • WAeUP_SRP/trunk/profiles/default/schemas/student_clearance.xml

    r770 r790  
    1616 <field name="lga" meta_type="CPS String Field"/>
    1717 <field name="nationality" meta_type="CPS String Field"/>
    18 
    19  <field name="email" meta_type="CPS String Field" />
    2018
    2119 <field name="fst_sit_fname" meta_type="CPS String Field"/>
  • WAeUP_SRP/trunk/skins/waeup_student/defer_admission.py

    r785 r790  
    2424info['app_doc'].edit(mapping={'defer_date':current,})
    2525wf.doActionFor(info['student'],'defer')
    26 return context.defer_done_view(info=info)
     26return context.defer_view(info=info)
  • WAeUP_SRP/trunk/skins/waeup_student/request_clearance.py

    r788 r790  
    4646    review_state = info['review_state']
    4747    wf.doActionFor(info['student'],'enter_clearance_pin')
     48    wf.doActionFor(info['app'],'close')
    4849    wf.doActionFor(info['clear'],'open')
    4950    pin = str(ds.get('clr_ac_pin'))
     
    5253    dc['clr_ac_date'] = current
    5354    info['clear_doc'].edit(mapping = dc)
    54 return redirect("%s/clearance_edit_view" % info['clear'].absolute_url())
     55return redirect("%s/clearance_edit_form" % info['clear'].absolute_url())
Note: See TracChangeset for help on using the changeset viewer.