Changeset 2743 for WAeUP_SRP/base/skins
- Timestamp:
- 22 Nov 2007, 21:42:57 (17 years ago)
- Location:
- WAeUP_SRP/base/skins
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_default/id_rename.py
r2027 r2743 32 32 pt = context.portal_type 33 33 mt = context.meta_type 34 logger.info('%s start ingrenaming %s to %s' % (member,old_ids,new_ids))34 logger.info('%s started renaming %s to %s' % (member,old_ids,new_ids)) 35 35 36 36 here.manage_renameObjects(REQUEST['ids'], new_ids, REQUEST) -
WAeUP_SRP/base/skins/waeup_layout/layout_apply_admission_create.pt
r2738 r2743 24 24 <span tal:attributes="class widget_css_class; 25 25 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" > 28 29 <th colspan="5" align="left"><h3 tal:replace="widget/description" /></th> 29 30 </tr> 31 </metal:block> 30 32 <tr> 31 33 <td valign="middle" tal:condition="python:widget.label_edit and widget.label_edit!='label field'"> … … 41 43 <tal:block condition="err"> 42 44 <tal:block define="msg python:cpsmcat(err, mapping=err_mapping)"> 43 < br /><em style="color: red"45 <em style="color: red" 44 46 tal:content="msg">err</em> 45 47 </tal:block> -
WAeUP_SRP/base/skins/waeup_student/apply_admission.py
r2739 r2743 30 30 31 31 manage = "manage" in request.keys() 32 screening_types = ('prence','pume','pce','pde','cest', 'pt')32 screening_types = ('prence','pume','pce','pde','cest',) 33 33 if not (traverse_subpath and traverse_subpath[0] in screening_types) and not manage: 34 34 return request.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url()) … … 40 40 headings['pce'] = 'Apply for PCE Screening (2007/2008)! ' 41 41 headings['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)' 43 43 44 44 configuration += ('heading',headings), … … 49 49 headings_slip['pce'] = 'PCE Screening (2007/2008) Aknowledgement Slip' 50 50 headings_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' 52 52 configuration += ('heading_slip',headings_slip), 53 53 … … 55 55 deaddates['pume'] = DateTime.DateTime('2007/08/12 23:59') 56 56 deaddates['pde'] = DateTime.DateTime('2007/11/04 23:59') 57 deaddates['prence'] = DateTime.DateTime('2007/ 8/1223:59')57 deaddates['prence'] = DateTime.DateTime('2007/12/4 23:59') 58 58 deaddates['pce'] = DateTime.DateTime('2007/8/12 23:59') 59 deaddates['cest'] = DateTime.DateTime('2007/ 8/1223:59')60 deaddates['pt'] = DateTime.DateTime('2007/12/24 23:59')59 deaddates['cest'] = DateTime.DateTime('2007/12/24 23:59') 60 #deaddates['pt'] = DateTime.DateTime('2007/12/24 23:59') 61 61 configuration += ('deaddate',deaddates), 62 62 … … 77 77 confirm['prence'] = "I confirm that the Passport Photograph uploaded on this form is a true picture of me." 78 78 confirm['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 discovered79 #confirm['cest'] = "I confirm that the Passport Photograph uploaded on this form is a true picture of me." 80 confirm['cest'] = """I hereby acknowledge by ticking this check box that if it is discovered 81 81 at any time, that I do not possess any of the qualifications, which I have obtained, I will be 82 82 expelled from the University and shall not be readmitted for the same or any other programme, … … 153 153 info[co_name] = co_dict[screening_type] 154 154 layout = "application_%s" % screening_type 155 without_reg_no = screening_type in ('prence',' pt')155 without_reg_no = screening_type in ('prence','cest') 156 156 info['expired'] = current.greaterThan(deaddates[screening_type]) 157 157 -
WAeUP_SRP/base/skins/waeup_student/apply_admission_form.pt
r2739 r2743 6 6 info options/info; 7 7 expired info/expired; 8 venue_display python: info['screening_type']=='pde';8 venue_display python:False; 9 9 deadline info/deadline 10 10 " … … 80 80 <p>Instructions :</p> 81 81 <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> 83 83 <li>Fill the form and upload your Passport Photograph with red background in jpg format.</li> 84 84 <li>Save and preview picture.
Note: See TracChangeset for help on using the changeset viewer.