Changeset 2743


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

new cest application layout beautified

Location:
WAeUP_SRP
Files:
1 added
1 deleted
11 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.
  • WAeUP_SRP/uniben/profiles/default/layouts.xml

    r2738 r2743  
    1010  <object name="application_prence" meta_type="CPS Layout"/>
    1111  <object name="application_pce" meta_type="CPS Layout"/>
    12   <object name="application_pt" meta_type="CPS Layout"/>
     12  <object name="application_cest" meta_type="CPS Layout"/>
    1313  <object name="application_manage" meta_type="CPS Layout"/>
    1414  <object name="certificate" meta_type="CPS Layout"/>
  • WAeUP_SRP/uniben/profiles/default/layouts/application_manage.xml

    r2608 r2743  
    514514    <property name="hidden_readonly_layout_modes"/>
    515515  </widget>
    516  
     516
    517517  <widget name="application_date" meta_type="DateTime Widget">
    518518    <property name="title">Application Date</property>
     
    740740    <property name="label">Higher Qualification</property>
    741741    <property name="label_edit">Higher Qualification</property>
    742     <property name="description">Higher Qualification Data</property>
     742    <property name="description"></property>
    743743    <property name="readonly_layout_modes">
    744744    </property>
  • WAeUP_SRP/uniben/profiles/default/layouts/application_pce.xml

    r2595 r2743  
    105105  <property name="hidden_layout_modes">
    106106   <element value="create"/>
     107   <element value="edit"/>
    107108  </property>
    108109  <property name="hidden_readonly_layout_modes"/>
  • WAeUP_SRP/uniben/profiles/default/layouts/application_pde.xml

    r2595 r2743  
    729729    <property name="hidden_layout_modes">
    730730      <element value="create"/>
     731      <element value="edit"/>
    731732    </property>
    732733    <property name="hidden_readonly_layout_modes"/>
     
    744745    <property name="label">Higher Qualification</property>
    745746    <property name="label_edit">Higher Qualification</property>
    746     <property name="description">Higher Qualification Data</property>
     747    <property name="description"></property>
    747748    <property name="readonly_layout_modes">
    748749      <element value="edit"/>
  • WAeUP_SRP/uniben/profiles/default/layouts/application_prence.xml

    r2608 r2743  
    676676    <property name="hidden_layout_modes">
    677677      <element value="create"/>
     678      <element value="edit"/>
    678679    </property>
    679680    <property name="hidden_empty">True</property>
     
    691692    <property name="label">Higher Qualification</property>
    692693    <property name="label_edit">Higher Qualification</property>
    693     <property name="description">Higher Qualification Data</property>
     694    <property name="description"></property>
    694695    <property name="readonly_layout_modes">
    695696    </property>
  • WAeUP_SRP/uniben/profiles/default/layouts/application_pume.xml

    r2595 r2743  
    664664    <property name="hidden_layout_modes">
    665665      <element value="create"/>
     666      <element value="edit"/>
    666667    </property>
    667668    <property name="hidden_readonly_layout_modes"/>
  • WAeUP_SRP/uniben/profiles/default/vocabularies/cos.xml

    r2541 r2743  
    88
    99    <item key="" msgid="">--</item>
    10     <item key="None" msgid=""></item>
    1110    <item key="BSCANA" msgid="">B.SC (ANATOMY)</item>
    1211    <item key="BARTEDL" msgid="">B.ART (EDO LINGUSTICS)</item>
Note: See TracChangeset for help on using the changeset viewer.