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