Changeset 484 for WAeUP_SRP/trunk
- Timestamp:
- 6 Sep 2006, 08:52:36 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/application_pin_form.pt
r483 r484 1 <tal:block define="rendered_pin options/renderes_pin 2 rendered_main options/rendered_main; 1 <tal:block define="rendered_main options/rendered_main; 3 2 portal_status_message options/psm; 4 3 data_storage options/ds; … … 16 15 <metal:block fill-slot="main"> 17 16 <h1>Apply for the Post University Matriculation Examination! </h1> 18 <div tal:replace="structure rendered_pin" />19 17 <div tal:replace="structure rendered_main" /> 20 18 <p>Instructions :</p> -
WAeUP_SRP/trunk/skins/waeup_student/apply_admission.py
r482 r484 30 30 if psm == 'invalid': 31 31 return context.application_pin_form(rendered = res, 32 psm = "Please correct your input ",32 psm = "Please correct your input.", 33 33 #psm = "psm : #%s#" % (psm,), 34 34 firstlayout = True, … … 51 51 52 52 if len(search) < 1: 53 psm = " No JAMB record %s" % (jamb_id)53 psm = "JAMB record %s not found." % (jamb_id) 54 54 return context.application_pin_form(rendered = res, 55 55 psm = psm, … … 76 76 else: 77 77 dp['lastname'] = apdoc.jamb_lastname 78 dp['sex'] = apdoc.jamb_sex == ' M'78 dp['sex'] = apdoc.jamb_sex == 'F' 79 79 dp['lga'] = "%s/%s" % (apdoc.jamb_state,apdoc.jamb_lga ) 80 80 student.personal.getContent().edit(mapping = dp)
Note: See TracChangeset for help on using the changeset viewer.