Changeset 2743 for WAeUP_SRP/base/skins


Ignore:
Timestamp:
22 Nov 2007, 21:42:57 (17 years ago)
Author:
Henrik Bettermann
Message:

new cest application layout beautified

Location:
WAeUP_SRP/base/skins
Files:
4 edited

Legend:

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

    r2027 r2743  
    3232pt = context.portal_type
    3333mt = context.meta_type
    34 logger.info('%s starting renaming %s to %s' % (member,old_ids,new_ids))
     34logger.info('%s started renaming %s to %s' % (member,old_ids,new_ids))
    3535
    3636here.manage_renameObjects(REQUEST['ids'], new_ids, REQUEST)
  • WAeUP_SRP/base/skins/waeup_layout/layout_apply_admission_create.pt

    r2738 r2743  
    2424          <span tal:attributes="class widget_css_class;
    2525          id python:widget.getHtmlWidgetId()+'_widget';"
    26           >
    27             <tr tal:condition="widget/description|nothing" class="even ajaxtd">
     26          >
     27            <metal:block tal:condition="widget/description|nothing">
     28            <tr  class="even ajaxtd" >             
    2829              <th colspan="5" align="left"><h3 tal:replace="widget/description" /></th>
    2930            </tr>
     31            </metal:block>
    3032            <tr>
    3133              <td valign="middle" tal:condition="python:widget.label_edit and widget.label_edit!='label field'">               
     
    4143                <tal:block condition="err">
    4244                  <tal:block define="msg python:cpsmcat(err, mapping=err_mapping)">
    43                     <br /><em style="color: red"
     45                    <em style="color: red"
    4446                              tal:content="msg">err</em>
    4547                  </tal:block>
  • WAeUP_SRP/base/skins/waeup_student/apply_admission.py

    r2739 r2743  
    3030
    3131manage = "manage" in request.keys()
    32 screening_types = ('prence','pume','pce','pde','cest','pt')
     32screening_types = ('prence','pume','pce','pde','cest',)
    3333if not (traverse_subpath and traverse_subpath[0] in screening_types) and not manage:
    3434    return request.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url())
     
    4040headings['pce'] = 'Apply for PCE Screening (2007/2008)! '
    4141headings['cest'] = 'Apply for Common Entrance Screening Test (2007/2008)! '
    42 headings['pt'] = 'Apply for Part Time '
     42#headings['pt'] = 'Apply for Local/Part-Time Programmes (2007/2008)'
    4343
    4444configuration += ('heading',headings),
     
    4949headings_slip['pce'] = 'PCE Screening (2007/2008) Aknowledgement Slip'
    5050headings_slip['cest'] = 'Common Entrance Screening (2007/2008) Aknowledgement Slip'
    51 headings_slip['pt'] = 'Part Time (2007/2008) Aknowledgement Slip'
     51#headings_slip['pt'] = 'Part Time (2007/2008) Aknowledgement Slip'
    5252configuration += ('heading_slip',headings_slip),
    5353
     
    5555deaddates['pume'] = DateTime.DateTime('2007/08/12 23:59')
    5656deaddates['pde'] = DateTime.DateTime('2007/11/04 23:59')
    57 deaddates['prence'] = DateTime.DateTime('2007/8/12 23:59')
     57deaddates['prence'] = DateTime.DateTime('2007/12/4 23:59')
    5858deaddates['pce'] = DateTime.DateTime('2007/8/12 23:59')
    59 deaddates['cest'] = DateTime.DateTime('2007/8/12 23:59')
    60 deaddates['pt'] = DateTime.DateTime('2007/12/24 23:59')
     59deaddates['cest'] = DateTime.DateTime('2007/12/24 23:59')
     60#deaddates['pt'] = DateTime.DateTime('2007/12/24 23:59')
    6161configuration += ('deaddate',deaddates),
    6262
     
    7777confirm['prence'] = "I confirm that the Passport Photograph uploaded on this form is a true picture of me."
    7878confirm['pce'] = "I confirm that the Passport Photograph uploaded on this form is a true picture of me."
    79 confirm['cest'] = "I confirm that the Passport Photograph uploaded on this form is a true picture of me."
    80 confirm['pt'] = """I hereby acknowledge by ticking this check box that if it is discovered
     79#confirm['cest'] = "I confirm that the Passport Photograph uploaded on this form is a true picture of me."
     80confirm['cest'] = """I hereby acknowledge by ticking this check box that if it is discovered
    8181at any time, that I do not possess any of the qualifications, which I have obtained, I will be
    8282expelled from the University and shall not be readmitted for the same or any other programme,
     
    153153    info[co_name] = co_dict[screening_type]
    154154layout = "application_%s" % screening_type
    155 without_reg_no = screening_type in ('prence','pt')
     155without_reg_no = screening_type in ('prence','cest')
    156156info['expired'] = current.greaterThan(deaddates[screening_type])
    157157
  • WAeUP_SRP/base/skins/waeup_student/apply_admission_form.pt

    r2739 r2743  
    66           info options/info;
    77           expired info/expired;
    8            venue_display python:info['screening_type']=='pde';
     8           venue_display python:False;
    99           deadline info/deadline
    1010           "
     
    8080            <p>Instructions :</p>
    8181            <ul>
    82               <li>Enter your <span tal:condition="python:not info['screening_type']=='prence'">JAMB Registration Number and the</span> Application PIN.</li>
     82              <li>Enter your <span tal:condition="python:not info['screening_type'] in ('prence','cest')">JAMB Registration Number and the</span> Application PIN.</li>
    8383              <li>Fill the form and upload your Passport Photograph with red background in jpg format.</li>
    8484              <li>Save and preview picture.
Note: See TracChangeset for help on using the changeset viewer.