Changeset 5165
- Timestamp:
- 23 Apr 2010, 06:58:42 (15 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 1 added
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/WAeUPTool.py
r5158 r5165 958 958 959 959 try: 960 if brain.screening_type in ('cest','sandwich', ) and brain.serial and brain.entry_session:960 if brain.screening_type in ('cest','sandwich','sandwich2008') and brain.serial and brain.entry_session: 961 961 if brain.course1: 962 962 reg_no = "%s%s/%s" % (brain.course1[:3],brain.serial,brain.entry_session) -
WAeUP_SRP/trunk/Widgets.py
r5041 r5165 856 856 else: 857 857 screening_type = 'all' 858 if screening_type in ("all","sandwich"," pg"):858 if screening_type in ("all","sandwich","sandwich2008","pg"): 859 859 application_category = screening_type 860 860 elif screening_type in ("cest","dp","ct","pt"): -
WAeUP_SRP/trunk/profiles/default/layouts.xml
r4240 r5165 67 67 <object name="application_ct" meta_type="CPS Layout"/> 68 68 <object name="application_sandwich" meta_type="CPS Layout"/> 69 <object name="application_sandwich2008" meta_type="CPS Layout"/> 69 70 <object name="application_manage" meta_type="CPS Layout"/> 70 71 <object name="certificate" meta_type="CPS Layout"/> -
WAeUP_SRP/trunk/profiles/default/vocabularies/screening_types.xml
r3689 r5165 9 9 <item key="pde" msgid="">PUDE</item> 10 10 <item key="cest" msgid="">CEST</item> 11 <item key="sandwich2008" msgid="">Sandwich 2008</item> 11 12 <item key="pce" msgid="">PCE</item> 12 13 <item key="prence" msgid="">Pre-NCE</item> -
WAeUP_SRP/trunk/skins/waeup_student/apply_admission.py
r4542 r5165 31 31 32 32 #manage = "manage" in request.keys() 33 screening_types = ('prence','pume','pce','pde','cest','sandwich','dp','ct','pt' )33 screening_types = ('prence','pume','pce','pde','cest','sandwich','dp','ct','pt','sandwich2008') 34 34 if not (traverse_subpath and traverse_subpath[0] in screening_types): 35 35 return request.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url()) … … 40 40 headings['prence'] = 'Apply for Pre-NCE Programme (2007/2008)! ' 41 41 headings['pce'] = 'Apply for PCE Screening (2009/2010)! ' 42 headings['cest'] = 'Apply for Part-Time Degree or Diploma Programmes (2008/2009)! ' 42 headings['sandwich2008'] = 'Apply for Part Time Degree in Education (2008/2009)! ' 43 headings['cest'] = 'Apply for Part-Time Degree or Diploma Programmes (2009/2010)! ' 43 44 headings['pt'] = 'Apply for Part-Time Degree (2009/2010)! ' 44 45 headings['dp'] = 'Apply for Diploma Programmes (2009/2010)! ' 45 46 headings['ct'] = 'Apply for Certificate Programmes (2009/2010)! ' 46 headings['sandwich'] = 'Apply for Part Time Degree in Education (200 8/2009)! '47 headings['sandwich'] = 'Apply for Part Time Degree in Education (2009/2010)! ' 47 48 configuration += ('heading',headings), 48 49 … … 52 53 headings_slip['prence'] = 'Pre-NCE Application (2007/2008) Acknowledgement Slip' 53 54 headings_slip['pce'] = 'PCE Screening (2009/2010) Acknowledgement Slip' 54 headings_slip['cest'] = 'CEST Application (2008/2009) Acknowledgement Slip' 55 headings_slip['sandwich2008'] = 'Application for Part Time Degree in Education (2008/2009) Acknowledgement Slip' 56 headings_slip['cest'] = 'CEST Application (2009/2010) Acknowledgement Slip' 55 57 headings_slip['pt'] = 'Part-Time Degree Application (2009/2010) Acknowledgement Slip' 56 58 headings_slip['dp'] = 'Diploma Programme Application (2009/2010) Acknowledgement Slip' 57 59 headings_slip['ct'] = 'Certificate Programme Application (2009/2010) Acknowledgement Slip' 58 headings_slip['sandwich'] = 'Application for Part Time Degree in Education (200 8/2009) Acknowledgement Slip'60 headings_slip['sandwich'] = 'Application for Part Time Degree in Education (2009/2010) Acknowledgement Slip' 59 61 configuration += ('heading_slip',headings_slip), 60 62 … … 68 70 deaddates['prence'] = DateTime.DateTime(pprops.date1) 69 71 deaddates['pce'] = DateTime.DateTime(pprops.date5) 72 deaddates['sandwich2008'] = DateTime.DateTime(pprops.date1) #is expired like pume 70 73 deaddates['cest'] = DateTime.DateTime(pprops.date3) 71 74 deaddates['sandwich'] = DateTime.DateTime(pprops.date4) … … 85 88 confirm['prence'] = "I confirm that the Passport Photograph uploaded on this form is a true picture of me." 86 89 confirm['pce'] = "I confirm that the Passport Photograph uploaded on this form is a true picture of me." 87 confirm['cest'] = confirm['sandwich'] = confirm['pt'] = confirm['dp'] = confirm['ct'] = """I hereby acknowledge90 confirm['cest'] = confirm['sandwich'] = confirm['pt'] = confirm['dp'] = confirm['ct'] = confirm['sandwich2008'] = """I hereby acknowledge 88 91 by ticking this check box that if it is discovered 89 92 at any time, that I do not possess any of the qualifications, which I have obtained, I will be … … 123 126 if traverse_subpath and traverse_subpath[0] in screening_types: 124 127 screening_type = traverse_subpath[0] 125 without_reg_no = screening_type in ('prence','cest','sandwich' )128 without_reg_no = screening_type in ('prence','cest','sandwich','sandwich2008') 126 129 info['expired'] = current.greaterThan(deaddates[screening_type]) 127 130 info['expiration_date'] = deaddates[screening_type] … … 160 163 if without_reg_no: 161 164 ## see fceokene #147 162 reg_no = ds.get('pin_n','').upper() 163 #reg_no = ds.get('pin_p') + ds.get('pin_b') + ds.get('pin_n') 165 if screening_type == 'sandwich2008': 166 reg_no = ds.get('pin_n','').upper() 167 else: 168 reg_no = ds.get('pin_p') + ds.get('pin_b') + ds.get('pin_n') 164 169 else: 165 170 reg_no = ds.get('reg_no') -
WAeUP_SRP/trunk/skins/waeup_student/apply_admission_form.pt
r4388 r5165 86 86 <p>Instructions :</p> 87 87 <ul> 88 <li>Enter your <span tal:condition="python:not info['screening_type'] in ('prence','cest','sandwich' )">JAMB Registration Number and the</span> Application PIN.</li>88 <li>Enter your <span tal:condition="python:not info['screening_type'] in ('prence','cest','sandwich','sandwich2008')">JAMB Registration Number and the</span> Application PIN.</li> 89 89 <li>Fill the form and upload your Passport Photograph with red background in jpg format.</li> 90 90 <li>Save and preview picture. -
WAeUP_SRP/trunk/skins/waeup_student/apply_admission_manage_form.pt
r3887 r5165 63 63 <span tal:condition="rendered_main"> 64 64 <h3>Application Record <span tal:replace="reg_no"/> 65 <tal:block condition="python: ds['screening_type'] == 'cest'and ccode">65 <tal:block condition="python: ds['screening_type'] in ('cest','sandwich2008') and ccode"> 66 66 (<span tal:replace="python:'%s%s/%s' % (ccode[:3],serial,context.getSessionId()[0])" />) 67 67 </tal:block> -
WAeUP_SRP/trunk/skins/waeup_student/apply_admission_slip.pt
r3887 r5165 12 12 app_no string:${ccode}${serial}/${session_id}; 13 13 screening_type options/ds/screening_type; 14 with_app_no python: screening_type in ('cest','sandwich' );14 with_app_no python: screening_type in ('cest','sandwich','sandwich2008'); 15 15 " 16 16 > -
WAeUP_SRP/trunk/skins/waeup_uniben/config_form.pt
r4253 r5165 141 141 <th> 142 142 <label> 143 Deadline CEST Application 2008/2009:143 Deadline CEST Application: 144 144 </label> 145 145 </th>
Note: See TracChangeset for help on using the changeset viewer.