Changeset 1027 for WAeUP_SRP/trunk/skins/waeup_student
- Timestamp:
- 11 Dec 2006, 10:28:28 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/application_edit_form.pt
r1025 r1027 1 1 <metal:html tal:define="info context/getStudentInfo"> 2 2 <span tal:condition="not: info"> 3 <metal:block use-macro="here/ error_not_found/macros/not_found" />3 <metal:block use-macro="here/illegal_view/macros/illegal_view" /> 4 4 </span> 5 5 <metal:block tal:condition="info"> -
WAeUP_SRP/trunk/skins/waeup_student/clearance_edit.py
r1017 r1027 54 54 if context.isStudent(): 55 55 action = "/clearance_edit_form" 56 if clear_doc.clr_ac_pin == "": 57 res = context.portal_pins(student=member_id) 58 if res: 59 p = res[0].pin 60 if len(p) > 10: 61 pin = "%s-%s-%s" % (p[:3],p[3:4],p[4:]) 62 else: 63 pin = p 64 clear_doc.edit(mapping={'clr_ac_pin': pin}) 56 65 elif cpsdocument_edit_and_view_button: 57 66 if acknowledge and info['review_state'] == "clearance_pin_entered": -
WAeUP_SRP/trunk/skins/waeup_student/start_clearance.py
r1021 r1027 65 65 dc['lga_ident'] = app_doc.get('jamb_lga') 66 66 dc['lga'] = app_doc.get('jamb_state','no state') + ' / ' + app_doc.get('jamb_lga','no lga') 67 dc['clr_ac_pin'] = pin 67 68 dc['clr_ac_date'] = current 68 69 dc['entry_date'] = current
Note: See TracChangeset for help on using the changeset viewer.