Changeset 2316 for WAeUP_SRP/base/skins
- Timestamp:
- 5 Oct 2007, 10:16:23 (17 years ago)
- Location:
- WAeUP_SRP/base/skins/waeup_student
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_student/apply_admission.py
r2310 r2316 66 66 elif traverse_subpath and traverse_subpath[0] == "cest": 67 67 layout = "application_cest" 68 application_type = "pce" 68 application_type = "pce" 69 69 else: 70 70 return request.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url()) 71 72 71 72 73 73 lt = context.portal_layouts 74 75 pin = request.form.get('pin','') 76 77 74 78 reg_no = request.get('widget__reg_no','').upper() 75 79 if not reg_no: 76 80 reg_no = request.form.get('reg_no','').upper() 77 pin = request.form.get('pin','') 81 82 83 78 84 object = {} 79 85 if reg_no: … … 193 199 logger.info('%s/%s edits application record' % (member,reg_no)) 194 200 psm = "" 195 #set_trace()196 201 if without_reg_no: 197 202 object['reg_no'] = reg_no -
WAeUP_SRP/base/skins/waeup_student/apply_admission_form.pt
r2310 r2316 4 4 application_type options/application_type; 5 5 mode options/mode; 6 expired python: True;6 expired python:False; 7 7 show_submit options/show_submit|nothing; 8 8 " … … 15 15 <h3 tal:condition="python:application_type=='pde'">Apply for Post DE Screening Test(2007/2008)! </h3> 16 16 <h3 tal:condition="python:application_type=='prence'">Apply for Pre-NCE Programme (2007/2008)! </h3> 17 <h3 tal:condition="python:application_type=='pce'">Apply for NCE Screening (2007/2008)! </h3>17 <h3 tal:condition="python:application_type=='pce'">Apply for PCE Screening (2007/2008)! </h3> 18 18 <h3 tal:condition="python:application_type=='cest'">Apply for Common Entrance Screening Test (2007/2008)! </h3> 19 19 </span> … … 34 34 tal:attributes="value ds/pin|nothing" 35 35 tal:condition="ds/pin|nothing"/> 36 36 <input type="hidden" name="application_type" 37 tal:attributes="value application_type|nothing" 38 tal:condition="application_type|nothing"/> 39 37 40 <div tal:replace="structure rendered_main" /> 38 41 … … 51 54 name="edit" 52 55 value="Save" 53 tal:condition="python: mode == 'edit' " />56 tal:condition="python: mode == 'edit' and not expired" /> 54 57 <input type="submit" class="standalone" name="apply" 55 58 value="Final Submit" 56 tal:condition="python: show_submit and mode == 'edit' "59 tal:condition="python: show_submit and mode == 'edit' and not expired" 57 60 /> 58 61 <input type="submit" -
WAeUP_SRP/base/skins/waeup_student/mail2student.py
r2296 r2316 17 17 18 18 d = {} 19 d['co_name'] = co_name 20 d['co_email'] = co_email 19 #d['co_name'] = co_name 20 #d['co_email'] = co_email 21 d['co_name'] = 'CRPU Uniben' 22 d['co_email'] = prop.email_from_address 21 23 d['student_email'] = student_email 22 24 d['probtype'] = probtype 23 25 d['commt'] = commt 24 25 #prop.email_from_address should be used for To:26 26 27 27 message = """
Note: See TracChangeset for help on using the changeset viewer.