[3718] | 1 | <metal:body use-macro="here/slip_template/macros/master"> |
---|
| 2 | <metal:main fill-slot="main" |
---|
| 3 | tal:define="info context/getPastoralReportInfo; |
---|
| 4 | s_name context/getStudentNameInContext; |
---|
[3804] | 5 | info_base context/getStudentBaseInfo; |
---|
[3808] | 6 | house_staff info/doc/house_staff|nothing; |
---|
[4424] | 7 | |
---|
| 8 | term_num info/term_num; |
---|
| 9 | sem_series python:(('Term One','normal1','complete1','score_calc_average_1','yga1','counter1','date1','over_pos_term1','no_stud_term1'), |
---|
| 10 | ('Term Two','normal2','complete2','score_calc_average_2','yga2','counter2','date2','over_pos_term2','no_stud_term2'), |
---|
| 11 | ('Term Three','normal3','complete3','score_calc_average_3','yga3','counter3','date3','over_pos_term3','no_stud_term3')); |
---|
| 12 | sem python:sem_series[int(term_num)-1]; |
---|
| 13 | |
---|
| 14 | |
---|
[3718] | 15 | "> |
---|
| 16 | <span tal:condition="not: info"> |
---|
| 17 | <span tal:content="here/illegal_view" /> |
---|
| 18 | </span> |
---|
| 19 | <span tal:condition="info" tal:omit-tag=""> |
---|
| 20 | <h3> <span tal:content="info/session" /> <span tal:content="info/term" /> Pastoral Report (<span tal:content="info/level" />) |
---|
| 21 | </h3> |
---|
| 22 | <br /> |
---|
[3804] | 23 | |
---|
| 24 | |
---|
| 25 | <table width="" cellpadding="2" cellspacing="0" summary="Form layout"> |
---|
| 26 | <tr> |
---|
| 27 | <td valign="top" width="180px"><span class="dlabel">Name</span>: |
---|
| 28 | </td> |
---|
| 29 | <td> |
---|
| 30 | <span tal:content="info_base/student/name" /> |
---|
| 31 | </td> |
---|
| 32 | </tr> |
---|
| 33 | <tr> |
---|
| 34 | <td valign="top" width="180px"><span class="dlabel">Sex</span>: |
---|
| 35 | </td> |
---|
| 36 | <td> |
---|
| 37 | <span tal:content="info_base/student/sex" /> |
---|
| 38 | </td> |
---|
| 39 | </tr> |
---|
| 40 | <tr valign="top"> |
---|
| 41 | <td><span class="dlabel">Online Student ID</span>: |
---|
| 42 | </td> |
---|
| 43 | <td> |
---|
| 44 | <span tal:content="info_base/id" /> |
---|
| 45 | </td> |
---|
| 46 | </tr> |
---|
| 47 | <tr valign="top"> |
---|
| 48 | <td><span class="dlabel">Registration No</span>: |
---|
| 49 | </td> |
---|
| 50 | <td> |
---|
| 51 | <span tal:content="info_base/student/matric_no" /> |
---|
| 52 | </td> |
---|
| 53 | </tr> |
---|
| 54 | |
---|
| 55 | <tr valign="top"> |
---|
| 56 | <td><span class="dlabel">Email</span>: |
---|
| 57 | </td> |
---|
| 58 | <td> |
---|
| 59 | <span tal:content="info_base/student/email" /> |
---|
| 60 | </td> |
---|
| 61 | </tr> |
---|
| 62 | <tr valign="top"> |
---|
| 63 | <td><span class="dlabel">Phone</span>: |
---|
| 64 | </td> |
---|
| 65 | <td> |
---|
| 66 | <span tal:content="info_base/student/phone" /> |
---|
| 67 | </td> |
---|
| 68 | </tr> |
---|
| 69 | <tr valign="top"> |
---|
| 70 | <td><span class="dlabel">Current Session</span>: |
---|
| 71 | </td> |
---|
| 72 | <td> |
---|
| 73 | <span tal:content="python:context.portal_vocabularies.sessions.get(info_base['student']['session'])" /> |
---|
| 74 | </td> |
---|
| 75 | </tr> |
---|
| 76 | <tr valign="top"> |
---|
| 77 | <td><span class="dlabel">Current Level</span>: |
---|
| 78 | </td> |
---|
| 79 | <td> |
---|
| 80 | <span tal:content="python:context.portal_vocabularies.student_levels.get(info_base['student']['level'])" /> |
---|
| 81 | </td> |
---|
| 82 | </tr> |
---|
| 83 | </table> |
---|
| 84 | |
---|
| 85 | |
---|
| 86 | |
---|
[3718] | 87 | <br /> |
---|
| 88 | <span tal:omit-tag="" |
---|
| 89 | tal:content="structure python: info['doc'].render(layout_mode='view')" /> |
---|
| 90 | </span> |
---|
| 91 | <span tal:condition="python:True"> <br /><br /> |
---|
| 92 | <table width=100%> |
---|
| 93 | <tr > |
---|
[4424] | 94 | <td width="180px">Date:</td><td><span tal:content="python:info[sem[6]]"/></td> |
---|
[3718] | 95 | </tr> |
---|
[3804] | 96 | <tr > |
---|
[3808] | 97 | <td width="180px">Name of House Staff:</td><td><span tal:content="house_staff" /></td> |
---|
[3804] | 98 | </tr> |
---|
[3808] | 99 | </table> <br /><br /><br /><br /> |
---|
| 100 | <table width=60%> |
---|
[3718] | 101 | <tr > |
---|
[3804] | 102 | <td width=100% style="border-top-style:solid; border-top-width:1px; border-top-color:black">Staff Signature</td> |
---|
[3718] | 103 | </tr> |
---|
| 104 | </table> |
---|
| 105 | </span> |
---|
| 106 | </metal:main> |
---|
| 107 | </metal:body> |
---|