Changeset 2316
- Timestamp:
- 5 Oct 2007, 10:16:23 (17 years ago)
- Location:
- WAeUP_SRP
- Files:
-
- 6 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 = """ -
WAeUP_SRP/fceokene/profiles/default/layouts/application_manage.xml
r2312 r2316 22 22 <property name="readonly_layout_modes"/> 23 23 <property name="hidden_layout_modes"> 24 <element value="edit"/> 25 </property> 26 <property name="hidden_readonly_layout_modes"/> 24 </property> 25 <property name="hidden_readonly_layout_modes"/> 26 <property name="view_format">%d/%m/%Y</property> 27 <property name="time_setting">False</property> 27 28 <property name="css_class_expr">string:row</property> 28 29 </widget> … … 621 622 </row> 622 623 <row> 624 <cell name="date_of_birth" ncols="2"/> 625 </row> 626 <row> 623 627 <cell name="email" ncols="2"/> 624 628 </row> -
WAeUP_SRP/fceokene/profiles/default/layouts/application_prence.xml
r2312 r2316 39 39 </property> 40 40 <property name="label">Date of Birth</property> 41 <property name="label_edit">Date of Birth</property> 42 <property name="description"></property> 43 <property name="help"></property> 44 <property name="is_i18n">False</property> 45 <property name="widget_mode_expr"></property> 46 <property name="readonly_layout_modes"/> 47 <property name="hidden_layout_modes"> 48 <element value="create"/> 49 </property> 41 <property name="label_edit">Date of Birth (dd/mm/yyyy)</property> 42 <property name="description"></property> 43 <property name="help"></property> 44 <property name="is_i18n">False</property> 45 <property name="widget_mode_expr"></property> 46 <property name="readonly_layout_modes"/> 47 <property name="hidden_layout_modes"> 48 <element value="create"/> 49 </property> 50 <property name="view_format">%d/%m/%Y</property> 51 <property name="time_setting">False</property> 50 52 <property name="hidden_readonly_layout_modes"/> 51 53 <property name="css_class_expr">string:row</property> -
WAeUP_SRP/fceokene/profiles/default/layouts/application_pume.xml
r2312 r2316 24 24 <element value="edit"/> 25 25 </property> 26 <property name="view_format">%d/%m/%Y</property> 27 <property name="time_setting">False</property> 26 28 <property name="hidden_readonly_layout_modes"/> 27 29 <property name="css_class_expr">string:row</property>
Note: See TracChangeset for help on using the changeset viewer.