Changeset 1292 for WAeUP_SRP/trunk/skins/waeup_student
- Timestamp:
- 14 Jan 2007, 23:29:15 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/accommodation_slip.pt
r1249 r1292 1 <metal:html tal:define="info_acco context/getAccommodationInfo; 2 info_app context/getApplicationInfo"> 3 4 <span tal:condition="not: info_acco"> 5 <span tal:content="here/illegal_view" /> 6 </span> 7 <metal:block tal:condition="info_acco"> 8 <metal:body use-macro="here/main_template/macros/master"> 9 <metal:main fill-slot="main"> 10 <h3>Hostel Allocation Slip (and Maintenance Receipt)</h3> 11 <br /> 12 13 <table width="" cellpadding="2" cellspacing="0" summary="Form layout"> 14 15 <tr tal:condition="python: 'passport' in info_acco['student'].application.getContent().objectIds()"> 16 <td colspan="2"><img tal:attributes="src string:${here/portal_url}/campus/students/${info_acco/id}/application/passport"/> 17 </td> 18 </tr> 19 20 <tr> 21 <td width="180px">Student ID:</td> 22 <td><span tal:content="info_acco/id" /></td> 23 </tr> 24 <tr tal:condition="info_acco/matric_no"> 25 <td>Matriculation Number:</td> 26 <td><span tal:content="info_acco/matric_no" /></td> 27 </tr> 28 <tr> 29 <td>JAMB Registration Number:</td> 30 <td><span tal:content="info_acco/jamb_reg_no" /></td> 31 </tr> 32 <tr> 33 <td>Student Name:</td> 34 <td><span tal:content="info_acco/name" /></td> 35 </tr> 36 <tr> 37 <td>Sex:</td> 38 <td><span tal:content="info_acco/sex" /></td> 39 </tr> 40 <tr> 41 <td>Level:</td> 42 <td><span tal:content="info_acco/level" /></td> 43 </tr> 44 <tr> 45 <td>Bed Category:</td> 46 <td><span tal:content="info_acco/student_status" /></td> 47 </tr> 48 <tr tal:condition="info_acco/email"> 49 <td>Email:</td> 50 <td><span tal:content="info_acco/email" /></td> 51 </tr> 52 <tr tal:condition="not:info_acco/email"> 53 <td>Email:</td> 54 <td><span tal:content="info_app/app_doc/app_email" /></td> 55 </tr> 56 <tr tal:condition="info_app/app_doc/app_mobile"> 57 <td>Mobile Phone Number:</td> 58 <td><span tal:content="info_app/app_doc/app_mobile" /></td> 59 </tr> 60 61 </table> 62 63 <span tal:omit-tag="" 64 tal:content="structure python: info_acco['acco_doc'].render(proxy=info_acco['acco_doc'], 65 layout_mode='view_slip', 66 layout_id='student_accommodation_fe')" 67 /> 1 <metal:body use-macro="here/main_template/macros/master"> 2 <metal:main fill-slot="main" 3 tal:define="info_acco context/getAccommodationInfo; 4 info_app context/getApplicationInfo"> 5 <span tal:condition="not: info_acco"> 6 <metal:block use-macro="here/error_not_found/macros/not_found" /> 7 </span> 8 <span tal:condition="info_acco"> 9 <h3>Hostel Allocation Slip (and Maintenance Receipt)</h3> 10 <br /> 11 - updated database - 12 <br /><br /> 13 14 <table width="" cellpadding="2" cellspacing="0" summary="Form layout"> 15 16 <tr tal:condition="python: 'passport' in info_acco['student'].application.getContent().objectIds()"> 17 <td colspan="2"><img tal:attributes="src string:${here/portal_url}/campus/students/${info_acco/id}/application/passport"/> 18 </td> 19 </tr> 20 <tr> 21 <td width="180px">Student ID:</td> 22 <td><span tal:content="info_acco/id" /></td> 23 </tr> 24 <tr tal:condition="info_acco/matric_no"> 25 <td>Matriculation Number:</td> 26 <td><span tal:content="info_acco/matric_no" /></td> 27 </tr> 28 <tr> 29 <td>JAMB Registration Number:</td> 30 <td><span tal:content="info_acco/jamb_reg_no" /></td> 31 </tr> 32 <tr> 33 <td>Student Name:</td> 34 <td><span tal:content="info_acco/name" /></td> 35 </tr> 36 <tr> 37 <td>Sex:</td> 38 <td><span tal:content="info_acco/sex" /></td> 39 </tr> 40 <tr> 41 <td>Level:</td> 42 <td><span tal:content="info_acco/level" /></td> 43 </tr> 44 <tr> 45 <td>Bed Category:</td> 46 <td><span tal:content="info_acco/student_status" /></td> 47 </tr> 48 <tr tal:condition="info_acco/email"> 49 <td>Email:</td> 50 <td><span tal:content="info_acco/email" /></td> 51 </tr> 52 <tr tal:condition="not:info_acco/email"> 53 <td>Email:</td> 54 <td><span tal:content="info_app/app_doc/app_email" /></td> 55 </tr> 56 <tr tal:condition="info_app/app_doc/app_mobile"> 57 <td>Mobile Phone Number:</td> 58 <td><span tal:content="info_app/app_doc/app_mobile" /></td> 59 </tr> 60 61 </table> 62 63 <span tal:omit-tag="" 64 tal:content="structure python: info_acco['acco_doc'].render(proxy=info_acco['acco_doc'], 65 layout_mode='view_slip', 66 layout_id='student_accommodation_fe')" 67 /> 68 </span> 68 69 </metal:main> 69 </metal:body> 70 </metal:block> 71 </metal:html> 70 </metal:body> -
WAeUP_SRP/trunk/skins/waeup_student/application_slip.pt
r1161 r1292 1 <metal:html tal:define="info context/getApplicationInfo"> 2 <span tal:condition="not: info"> 3 <span tal:content="here/illegal_view" /> 4 </span> 5 <metal:block tal:condition="info"> 6 <metal:body use-macro="here/main_template/macros/master"> 7 <metal:main fill-slot="main"> 1 <metal:body use-macro="here/main_template/macros/master"> 2 <metal:main fill-slot="main" 3 tal:define="info context/getApplicationInfo"> 8 4 <span tal:condition="not: info"> 9 5 <metal:block use-macro="here/error_not_found/macros/not_found" /> … … 21 17 </span> 22 18 </metal:main> 23 24 </metal:block>25 </metal:html> 19 </metal:body> 20 21 -
WAeUP_SRP/trunk/skins/waeup_student/application_view.pt
r1161 r1292 1 <metal:html tal:define="info context/getApplicationInfo"> 2 <span tal:condition="not: info"> 3 <span tal:content="here/illegal_view" /> 4 </span> 5 <metal:block tal:condition="info"> 6 <metal:body use-macro="here/waeup_content_master/macros/master"> 7 <metal:main fill-slot="main"> 1 <metal:body use-macro="here/waeup_content_master/macros/master"> 2 <metal:main fill-slot="main" 3 tal:define="info context/getApplicationInfo"> 8 4 <span tal:condition="not: info"> 9 5 <metal:block use-macro="here/error_not_found/macros/not_found" /> … … 30 26 /> 31 27 </span> 32 </metal:main> 33 </metal:body> 34 </metal:block> 35 </metal:html> 28 </metal:main> 29 </metal:body> -
WAeUP_SRP/trunk/skins/waeup_student/entry_results_anon_slip.pt
r1123 r1292 1 <metal: html tal:define="pume python:context.portal_pumeresults(jamb_reg_no=request.get('nr'))[0]">2 <metal:body use-macro="here/main_template/macros/master">3 <metal:main fill-slot="main">1 <metal:body use-macro="here/main_template/macros/master"> 2 <metal:main fill-slot="main" 3 tal:define="pume python:context.portal_pumeresults(jamb_reg_no=request.get('nr'))[0]"> 4 4 5 5 … … 43 43 </table> 44 44 45 46 47 45 </metal:main> 48 49 </metal:html> 46 </metal:body> 47 -
WAeUP_SRP/trunk/skins/waeup_student/entry_results_anon_view.pt
r1169 r1292 1 <metal: html tal:define="pume options/pume;2 result_type pume/result_type|string:PU">3 <metal:body use-macro="here/main_template/macros/master">4 <metal:main fill-slot="main">1 <metal:body use-macro="here/main_template/macros/master"> 2 <metal:main fill-slot="main" 3 tal:define="pume options/pume; 4 result_type pume/result_type"> 5 5 6 <span tal:condition="python:result_type =='PU'">6 <span tal:condition="python:result_type !='DE'"> 7 7 <div style="text-align: right"> 8 8 <a href="" target="slip" tal:attributes="href string:entry_results_anon_slip?nr=${pume/jamb_reg_no}" … … 59 59 </table> 60 60 </metal:main> 61 62 </metal:html> 61 </metal:body> 62 -
WAeUP_SRP/trunk/skins/waeup_student/personal_view.pt
r1186 r1292 1 <metal:html tal:define="info context/getPersonalInfo"> 2 <span tal:condition="not: info"> 3 <span tal:content="here/illegal_view" /> 4 </span> 5 <metal:block tal:condition="info"> 6 <metal:body use-macro="here/waeup_content_master/macros/master"> 7 <metal:main fill-slot="main"> 1 <metal:body use-macro="here/waeup_content_master/macros/master"> 2 <metal:main fill-slot="main" 3 tal:define="info context/getPersonalInfo"> 8 4 <span tal:condition="not: info"> 9 5 <metal:block use-macro="here/error_not_found/macros/not_found" /> … … 20 16 </span> 21 17 </metal:main> 22 </metal:body> 23 </metal:block> 24 </metal:html> 18 </metal:body> -
WAeUP_SRP/trunk/skins/waeup_student/reserve_accommodation.py
r1255 r1292 61 61 psm = "Error in Data, unable to reserve bed." 62 62 return context.accommodation_pin_edit_form(rendered = res, 63 psm = psm, 63 64 #psm = "%s, %s" % (psm,ds), 64 65 mode = mode, … … 103 104 wftool.doActionFor(acco,'pay_maintenance_fee',dest_container=acco) 104 105 return context.REQUEST.RESPONSE.redirect("%s/accommodation_view" % student.absolute_url()) 106 -
WAeUP_SRP/trunk/skins/waeup_student/session_results_anon_view.pt
r1259 r1292 1 <metal:html tal:define="student options/student; 2 results options/results; 3 registered options/registered" 4 > 5 <metal:body use-macro="here/main_template/macros/master"> 6 <metal:main fill-slot="main"> 1 <metal:body use-macro="here/main_template/macros/master"> 2 <metal:main fill-slot="main" 3 tal:define="student options/student; 4 results options/results; 5 registered options/registered"> 7 6 <h3>Session Results of <span tal:content="student/Firstname" /> 8 7 <span tal:content="student/Middlename" /> … … 76 75 </form> 77 76 </metal:main> 78 79 </metal:html> 77 </metal:body> 78 -
WAeUP_SRP/trunk/skins/waeup_student/session_results_slip.pt
r1183 r1292 1 <metal: html tal:define="info context/getSessionResults">2 <metal:body use-macro="here/main_template/macros/master">3 <metal:main fill-slot="main">1 <metal:body use-macro="here/main_template/macros/master"> 2 <metal:main fill-slot="main" 3 tal:define="info context/getSessionResults"> 4 4 <div tal:condition="nothing" style="text-align: right"> 5 5 <a href="" target="slip" tal:attributes="href string:session_results_slip?nr=${info/student/matric_no}" … … 75 75 76 76 </metal:main> 77 78 </metal:html> 77 </metal:body> 78 -
WAeUP_SRP/trunk/skins/waeup_student/session_results_view.pt
r1183 r1292 1 <metal: html tal:define="info context/getSessionResults">2 <metal:body use-macro="here/main_template/macros/master">3 <metal:main fill-slot="main">1 <metal:body use-macro="here/main_template/macros/master"> 2 <metal:main fill-slot="main" 3 tal:define="info context/getSessionResults"> 4 4 <div style="text-align: right"> 5 5 <a href="" target="slip" tal:attributes="href string:session_results_slip" … … 82 82 </form> 83 83 </metal:main> 84 85 </metal:html> 84 </metal:body> 85 86 86 -
WAeUP_SRP/trunk/skins/waeup_student/statistics_new_view.pt
r1286 r1292 1 2 <metal:body use-macro="here/main_template/macros/master"> 3 4 5 <metal:main fill-slot="main"> 6 1 <metal:body use-macro="here/main_template/macros/master"> 2 <metal:main fill-slot="main"> 7 3 <metal:block tal:define="departments context/getNewStudentStatistics; 8 4 mtool here/portal_membership; … … 69 65 </span> 70 66 </span> 71 </metal:block> 72 </metal:main> 73 74 </metal:body> 67 </metal:block> 68 </metal:main> 69 </metal:body> 75 70 -
WAeUP_SRP/trunk/skins/waeup_student/statistics_ret_view.pt
r1286 r1292 1 2 <metal:body use-macro="here/main_template/macros/master"> 3 4 1 <metal:body use-macro="here/main_template/macros/master"> 5 2 <metal:main fill-slot="main"> 6 3 <metal:block tal:define="departments context/getRetStudentStatistics; … … 37 34 </metal:block> 38 35 </metal:main> 39 40 </metal:body> 36 </metal:body> 41 37
Note: See TracChangeset for help on using the changeset viewer.