[1292] | 1 | <metal:body use-macro="here/main_template/macros/master"> |
---|
| 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> |
---|
| 11 | <h3>Session Results of <span tal:content="info/student/Firstname" /> |
---|
| 12 | <span tal:content="info/student/Middlename" /> |
---|
| 13 | <span tal:content="info/student/Lastname" /> |
---|
| 14 | </h3> |
---|
| 15 | <br /> |
---|
| 16 | <table> |
---|
| 17 | <tr> |
---|
| 18 | <th width="180px">Student ID:</th> |
---|
| 19 | <td> |
---|
| 20 | <span tal:replace="info/s_id" /> |
---|
| 21 | </td> |
---|
| 22 | </tr> |
---|
| 23 | |
---|
| 24 | <tr> |
---|
| 25 | <th width="150px">Matriculation Number:</th><td tal:content="info/student/matric_no" /> |
---|
| 26 | </tr> |
---|
| 27 | <tr> |
---|
| 28 | <th>Sex:</th><td tal:content="info/student/Sex" /> |
---|
| 29 | </tr> |
---|
| 30 | <tr> |
---|
[1179] | 31 | <th valign="top">Course of Study:</th><td tal:content="info/student/Coursemajor" /> |
---|
[1174] | 32 | </tr> |
---|
| 33 | <tr> |
---|
| 34 | <th>Level:</th><td tal:content="info/student/Level" /> |
---|
| 35 | </tr> |
---|
| 36 | </table> |
---|
| 37 | |
---|
| 38 | <table> |
---|
| 39 | <tr> |
---|
[1183] | 40 | <th width="180px">Verdict:</th><td tal:content="info/verdict" /> |
---|
[1174] | 41 | </tr> |
---|
| 42 | <tr> |
---|
[1183] | 43 | <th>Session:</th><td tal:content="info/session" /> |
---|
[1179] | 44 | </tr> |
---|
| 45 | <tr> |
---|
[1182] | 46 | <th valign="top">GPA:</th><td> <span tal:content="info/gpa" /> (on the basis of the data below) </td> |
---|
[1179] | 47 | </tr> |
---|
[1174] | 48 | </table> |
---|
| 49 | |
---|
| 50 | <br /> |
---|
| 51 | |
---|
| 52 | <table> |
---|
| 53 | <span tal:repeat="semester info/results"> |
---|
| 54 | <span tal:repeat="result semester"> |
---|
| 55 | <tr tal:condition="repeat/result/start"> |
---|
[1179] | 56 | <th colspan="2"> |
---|
| 57 | <span tal:replace="python: test(repeat['semester'].index,'Second','First')" /> Semester |
---|
| 58 | </th> |
---|
| 59 | <td>Grade</td> |
---|
| 60 | <td>Weight</td> |
---|
| 61 | <td>Credits</td> |
---|
| 62 | </tr> |
---|
[1174] | 63 | <tr> |
---|
[1179] | 64 | <td valign="top" width="80px" tal:content="result/CosCode" /> |
---|
| 65 | <td valign="top" tal:content="result/title" /> |
---|
| 66 | <td valign="top" width="50px" align="center" tal:content="result/GRADE" /> |
---|
| 67 | <td valign="top" width="50px" align="center" tal:content="result/WEIGHT" /> |
---|
| 68 | <td valign="top" width="50px" align="center" tal:content="result/credits" /> |
---|
| 69 | |
---|
[1174] | 70 | </tr> |
---|
| 71 | </span> |
---|
[1179] | 72 | <tr><td colspan="5"> </td></tr> |
---|
[1174] | 73 | </span> |
---|
| 74 | </table> |
---|
| 75 | |
---|
| 76 | </metal:main> |
---|
[1292] | 77 | </metal:body> |
---|
| 78 | |
---|