[1737] | 1 | <metal:body use-macro="here/slip_template/macros/master"> |
---|
[1292] | 2 | <metal:main fill-slot="main" |
---|
| 3 | tal:define="info context/getSessionResults"> |
---|
[1884] | 4 | <span tal:condition="not: info"> |
---|
| 5 | <span tal:content="here/illegal_view" /> |
---|
| 6 | </span> |
---|
| 7 | <span tal:condition="info" tal:omit-tag=""> |
---|
[1411] | 8 | <h3>Session Results of <span tal:content="info/student/name" /> |
---|
[1174] | 9 | </h3> |
---|
| 10 | <br /> |
---|
| 11 | <table> |
---|
| 12 | <tr> |
---|
| 13 | <th width="180px">Student ID:</th> |
---|
| 14 | <td> |
---|
| 15 | <span tal:replace="info/s_id" /> |
---|
| 16 | </td> |
---|
| 17 | </tr> |
---|
| 18 | |
---|
| 19 | <tr> |
---|
| 20 | <th width="150px">Matriculation Number:</th><td tal:content="info/student/matric_no" /> |
---|
| 21 | </tr> |
---|
| 22 | <tr> |
---|
[2492] | 23 | <th>Level:</th><td tal:content="info/level" /> |
---|
[1174] | 24 | </tr> |
---|
| 25 | <tr> |
---|
[2492] | 26 | <th width="180px">Verdict:</th><td tal:content="info/verdict" /> |
---|
[1174] | 27 | </tr> |
---|
[2492] | 28 | <tr> |
---|
| 29 | <th>Session:</th><td tal:content="info/session" /> |
---|
[1174] | 30 | </tr> |
---|
[2492] | 31 | <tr> |
---|
| 32 | <th valign="top">GPA:</th><td> <span tal:content="info/gpa" /> (on the basis of the data below) </td> |
---|
| 33 | </tr> |
---|
[1174] | 34 | </table> |
---|
| 35 | |
---|
| 36 | <br /> |
---|
| 37 | |
---|
| 38 | <table> |
---|
| 39 | <span tal:repeat="semester info/results"> |
---|
| 40 | <span tal:repeat="result semester"> |
---|
| 41 | <tr tal:condition="repeat/result/start"> |
---|
[1179] | 42 | <th colspan="2"> |
---|
| 43 | <span tal:replace="python: test(repeat['semester'].index,'Second','First')" /> Semester |
---|
| 44 | </th> |
---|
| 45 | <td>Grade</td> |
---|
| 46 | <td>Weight</td> |
---|
| 47 | <td>Credits</td> |
---|
| 48 | </tr> |
---|
[1174] | 49 | <tr> |
---|
[1179] | 50 | <td valign="top" width="80px" tal:content="result/CosCode" /> |
---|
| 51 | <td valign="top" tal:content="result/title" /> |
---|
| 52 | <td valign="top" width="50px" align="center" tal:content="result/GRADE" /> |
---|
| 53 | <td valign="top" width="50px" align="center" tal:content="result/WEIGHT" /> |
---|
| 54 | <td valign="top" width="50px" align="center" tal:content="result/credits" /> |
---|
| 55 | |
---|
[1174] | 56 | </tr> |
---|
| 57 | </span> |
---|
[1179] | 58 | <tr><td colspan="5"> </td></tr> |
---|
[1174] | 59 | </span> |
---|
| 60 | </table> |
---|
[1884] | 61 | </span> |
---|
[1174] | 62 | </metal:main> |
---|
[1292] | 63 | </metal:body> |
---|
| 64 | |
---|