[1292] | 1 | <metal:body use-macro="here/main_template/macros/master"> |
---|
| 2 | <metal:main fill-slot="main" |
---|
| 3 | tal:define="info context/getSessionResults"> |
---|
[1851] | 4 | <metal:block tal:condition="not: info"> |
---|
| 5 | <span tal:content="here/illegal_view" /> |
---|
| 6 | </metal:block> |
---|
| 7 | <metal:block tal:condition="info"> |
---|
[1413] | 8 | <div tal:condition="nothing" style="text-align: right"> |
---|
| 9 | <a href="" target="slip" tal:attributes="href string:session_results_slip?nr=${info/student/matric_no}" |
---|
[1171] | 10 | onclick="javascript:window.open('','slip','width=600, height=700, directories=no, toolbar=no, location=no, menubar=yes, scrollbars=yes, status=no, resizable=no, dependent=no')"> |
---|
| 11 | <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" /> |
---|
[1413] | 12 | Session Result Slip |
---|
[1171] | 13 | </a> |
---|
| 14 | </div> |
---|
[1411] | 15 | <h3>Session Results of <span tal:content="info/student/name" /> |
---|
[1171] | 16 | </h3> |
---|
| 17 | <br /> |
---|
| 18 | <table> |
---|
| 19 | <tr> |
---|
[1174] | 20 | <th width="180px">Student ID:</th> |
---|
[1171] | 21 | <td> |
---|
[1174] | 22 | <span tal:replace="info/s_id" /> |
---|
[1171] | 23 | </td> |
---|
| 24 | </tr> |
---|
| 25 | |
---|
| 26 | <tr> |
---|
[1174] | 27 | <th width="150px">Matriculation Number:</th><td tal:content="info/student/matric_no" /> |
---|
[1171] | 28 | </tr> |
---|
| 29 | <tr> |
---|
[1429] | 30 | <th>Sex:</th><td tal:content="info/sex" /> |
---|
[1171] | 31 | </tr> |
---|
| 32 | <tr> |
---|
[1753] | 33 | <th valign="top">Course of Study:</th><td tal:content="info/student/course" /> |
---|
[1171] | 34 | </tr> |
---|
| 35 | <tr> |
---|
[1679] | 36 | <th>Current Level:</th><td tal:content="info/level" /> |
---|
[1171] | 37 | </tr> |
---|
| 38 | </table> |
---|
| 39 | |
---|
| 40 | <table> |
---|
| 41 | <tr> |
---|
[1183] | 42 | <th width="180px">Verdict:</th><td tal:content="info/verdict" /> |
---|
[1171] | 43 | </tr> |
---|
| 44 | <tr> |
---|
[1183] | 45 | <th>Session:</th><td tal:content="info/session" /> |
---|
[1179] | 46 | </tr> |
---|
| 47 | <tr> |
---|
[1182] | 48 | <th valign="top">GPA:</th><td> <span tal:content="info/gpa" /> (on the basis of the data below) </td> |
---|
[1179] | 49 | </tr> |
---|
[1171] | 50 | </table> |
---|
| 51 | |
---|
| 52 | <br /> |
---|
| 53 | |
---|
| 54 | <table> |
---|
[1174] | 55 | <span tal:repeat="semester info/results"> |
---|
[1171] | 56 | <span tal:repeat="result semester"> |
---|
| 57 | <tr tal:condition="repeat/result/start"> |
---|
[1179] | 58 | <th colspan="2"> |
---|
| 59 | <span tal:replace="python: test(repeat['semester'].index,'Second','First')" /> Semester |
---|
| 60 | </th> |
---|
| 61 | <td>Grade</td> |
---|
| 62 | <td>Weight</td> |
---|
| 63 | <td>Credits</td> |
---|
| 64 | </tr> |
---|
[1171] | 65 | <tr> |
---|
[1179] | 66 | <td valign="top" width="80px" tal:content="result/CosCode" /> |
---|
| 67 | <td valign="top" tal:content="result/title" /> |
---|
| 68 | <td valign="top" width="50px" align="center" tal:content="result/GRADE" /> |
---|
| 69 | <td valign="top" width="50px" align="center" tal:content="result/WEIGHT" /> |
---|
| 70 | <td valign="top" width="50px" align="center" tal:content="result/credits" /> |
---|
| 71 | |
---|
[1171] | 72 | </tr> |
---|
| 73 | </span> |
---|
[1179] | 74 | <tr><td colspan="5"> </td></tr> |
---|
[1171] | 75 | </span> |
---|
| 76 | </table> |
---|
[1851] | 77 | </metal:block> |
---|
[1171] | 78 | </metal:main> |
---|
[1292] | 79 | </metal:body> |
---|
| 80 | |
---|