Changeset 2108 for WAeUP_SRP/trunk/skins
- Timestamp:
- 16 Aug 2007, 18:43:20 (17 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/apply_pume.py
r2106 r2108 105 105 data['application_date'] = current 106 106 data['status'] = "submitted" 107 context.applicants_catalog.modifyRecord(**data) 107 context.applicants_catalog.modifyRecord(**data) 108 res,psm_dummy,ds = lt.renderLayout(layout_id= 'application', 109 schema_id= 'application', 110 layout_mode = mode, 111 context=context, 112 mapping=validate and REQUEST, 113 ob=object, 114 commit = False, 115 ) 108 116 elif create: 109 117 if submitted: … … 126 134 psm = "Content changed" 127 135 128 res,psm_dummy,ds = lt.renderLayout(layout_id= 'application', 129 schema_id= 'application', 130 layout_mode = mode, 131 context=context, 132 mapping=validate and REQUEST, 133 ob=object, 134 commit = False, 135 ) 136 136 137 137 138 return context.apply_pume_form(rendered = res, -
WAeUP_SRP/trunk/skins/waeup_student/apply_pume_form.pt
r2105 r2108 9 9 <metal:block use-macro="here/main_template/macros/master"> 10 10 <metal:block fill-slot="main"> 11 <h3>Apply for the Post University Matriculation Examination! </h3> 11 <h3 tal:condition="python:not mode=='view'">Apply for the Post University Matriculation Examination! </h3> 12 <h3 tal:condition="python:mode=='view'">Your PUME Application Record</h3> 12 13 <br /> 13 14 <form action="" id="editForm" method="post" … … 21 22 tal:attributes="value ds/pin|nothing" 22 23 tal:condition="ds/pin|nothing"/> 24 23 25 <div tal:replace="structure rendered_main" /> 24 26 -
WAeUP_SRP/trunk/skins/waeup_student/apply_pume_slip.pt
r2104 r2108 4 4 jamb options/jamb/getContent|nothing; 5 5 mode options/mode; 6 name python:ds['lastname']; 6 7 " 7 8 > … … 9 10 <metal:block use-macro="here/slip_template/macros/master"> 10 11 <metal:block fill-slot="main"> 11 <h3> Apply for the Post University Matriculation Examination!</h3>12 <h3>PUME Application Record of <span tal:replace="name" /></h3> 12 13 <br /> 13 14 <div tal:replace="structure rendered_main" />
Note: See TracChangeset for help on using the changeset viewer.