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; |
---|
5 | info_base context/getStudentBaseInfo; |
---|
6 | house_staff info/doc/house_staff|nothing; |
---|
7 | "> |
---|
8 | <span tal:condition="not: info"> |
---|
9 | <span tal:content="here/illegal_view" /> |
---|
10 | </span> |
---|
11 | <span tal:condition="info" tal:omit-tag=""> |
---|
12 | <h3> <span tal:content="info/session" /> <span tal:content="info/term" /> Pastoral Report (<span tal:content="info/level" />) |
---|
13 | </h3> |
---|
14 | <br /> |
---|
15 | |
---|
16 | |
---|
17 | <table width="" cellpadding="2" cellspacing="0" summary="Form layout"> |
---|
18 | <tr> |
---|
19 | <td valign="top" width="180px"><span class="dlabel">Name</span>: |
---|
20 | </td> |
---|
21 | <td> |
---|
22 | <span tal:content="info_base/student/name" /> |
---|
23 | </td> |
---|
24 | </tr> |
---|
25 | <tr> |
---|
26 | <td valign="top" width="180px"><span class="dlabel">Sex</span>: |
---|
27 | </td> |
---|
28 | <td> |
---|
29 | <span tal:content="info_base/student/sex" /> |
---|
30 | </td> |
---|
31 | </tr> |
---|
32 | <tr valign="top"> |
---|
33 | <td><span class="dlabel">Online Student ID</span>: |
---|
34 | </td> |
---|
35 | <td> |
---|
36 | <span tal:content="info_base/id" /> |
---|
37 | </td> |
---|
38 | </tr> |
---|
39 | <tr valign="top"> |
---|
40 | <td><span class="dlabel">Registration No</span>: |
---|
41 | </td> |
---|
42 | <td> |
---|
43 | <span tal:content="info_base/student/matric_no" /> |
---|
44 | </td> |
---|
45 | </tr> |
---|
46 | |
---|
47 | <tr valign="top"> |
---|
48 | <td><span class="dlabel">Email</span>: |
---|
49 | </td> |
---|
50 | <td> |
---|
51 | <span tal:content="info_base/student/email" /> |
---|
52 | </td> |
---|
53 | </tr> |
---|
54 | <tr valign="top"> |
---|
55 | <td><span class="dlabel">Phone</span>: |
---|
56 | </td> |
---|
57 | <td> |
---|
58 | <span tal:content="info_base/student/phone" /> |
---|
59 | </td> |
---|
60 | </tr> |
---|
61 | <tr valign="top"> |
---|
62 | <td><span class="dlabel">Current Session</span>: |
---|
63 | </td> |
---|
64 | <td> |
---|
65 | <span tal:content="python:context.portal_vocabularies.sessions.get(info_base['student']['session'])" /> |
---|
66 | </td> |
---|
67 | </tr> |
---|
68 | <tr valign="top"> |
---|
69 | <td><span class="dlabel">Current Level</span>: |
---|
70 | </td> |
---|
71 | <td> |
---|
72 | <span tal:content="python:context.portal_vocabularies.student_levels.get(info_base['student']['level'])" /> |
---|
73 | </td> |
---|
74 | </tr> |
---|
75 | </table> |
---|
76 | |
---|
77 | |
---|
78 | |
---|
79 | <br /> |
---|
80 | <span tal:omit-tag="" |
---|
81 | tal:content="structure python: info['doc'].render(layout_mode='view')" /> |
---|
82 | </span> |
---|
83 | <span tal:condition="python:True"> <br /><br /> |
---|
84 | <table width=100%> |
---|
85 | <tr > |
---|
86 | <td width="180px">Date:</td><td>12/12/2008</td> |
---|
87 | </tr> |
---|
88 | <tr > |
---|
89 | <td width="180px">Name of House Staff:</td><td><span tal:content="house_staff" /></td> |
---|
90 | </tr> |
---|
91 | </table> <br /><br /><br /><br /> |
---|
92 | <table width=60%> |
---|
93 | <tr > |
---|
94 | <td width=100% style="border-top-style:solid; border-top-width:1px; border-top-color:black">Staff Signature</td> |
---|
95 | </tr> |
---|
96 | </table> |
---|
97 | </span> |
---|
98 | </metal:main> |
---|
99 | </metal:body> |
---|