[1292] | 1 | <metal:body use-macro="here/main_template/macros/master"> |
---|
| 2 | <metal:main fill-slot="main" |
---|
| 3 | tal:define="student options/student; |
---|
| 4 | results options/results; |
---|
| 5 | registered options/registered"> |
---|
[1146] | 6 | <h3>Session Results of <span tal:content="student/Firstname" /> |
---|
| 7 | <span tal:content="student/Middlename" /> |
---|
| 8 | <span tal:content="student/Lastname" /> |
---|
| 9 | </h3> |
---|
[1149] | 10 | <br /> |
---|
[1146] | 11 | <table> |
---|
| 12 | <tr> |
---|
[1149] | 13 | <th width="150px">Matriculation Number:</th><td tal:content="student/matric_no" /> |
---|
[1146] | 14 | </tr> |
---|
| 15 | <tr> |
---|
[1149] | 16 | <th>Course of Study:</th><td tal:content="student/Coursemajor" /> |
---|
[1146] | 17 | </tr> |
---|
| 18 | <tr> |
---|
[1149] | 19 | <th>Level:</th><td tal:content="student/Level" /> |
---|
[1146] | 20 | </tr> |
---|
| 21 | </table> |
---|
[1149] | 22 | |
---|
| 23 | <table> |
---|
| 24 | <tr> |
---|
[1183] | 25 | <th width="150px">Verdict:</th> |
---|
| 26 | <td tal:content="student/verdict" /> |
---|
[1149] | 27 | </tr> |
---|
| 28 | <tr> |
---|
[1183] | 29 | <th>Session:</th><td tal:content="student/session" /> |
---|
[1149] | 30 | </tr> |
---|
| 31 | </table> |
---|
| 32 | |
---|
| 33 | <br /> |
---|
[1146] | 34 | |
---|
| 35 | <table> |
---|
[1165] | 36 | <span tal:repeat="semester results"> |
---|
| 37 | <span tal:repeat="result semester"> |
---|
| 38 | <tr tal:condition="repeat/result/start"> |
---|
| 39 | <th colspan="5"> |
---|
[1166] | 40 | <span tal:replace="python: test(repeat['semester'].index,'Second','First')" /> Semester |
---|
[1165] | 41 | </th> |
---|
| 42 | </tr> |
---|
| 43 | <tr> |
---|
[1166] | 44 | <td width="80px" tal:content="result/CosCode" /> |
---|
[1165] | 45 | <td tal:content="result/title" /> |
---|
[4305] | 46 | <td width="50px" style='text-align:center' tal:content="result/GRADE" /> |
---|
[1146] | 47 | </tr> |
---|
| 48 | </span> |
---|
[1165] | 49 | </span> |
---|
[1146] | 50 | </table> |
---|
[1160] | 51 | <br /> |
---|
[1177] | 52 | <div tal:condition="registered"> |
---|
| 53 | <span tal:condition="python: registered == 'no_student_object'"> |
---|
[1259] | 54 | Your student and member records have not yet been created, please check again later. |
---|
[1177] | 55 | </span> |
---|
[1179] | 56 | <font color="red"> |
---|
[1177] | 57 | <span tal:condition="python: registered != 'no_student_object'"> |
---|
[1179] | 58 | You have already set your password, please |
---|
[1177] | 59 | <a href="" tal:attributes="href string:${context/portal_url}/login_student">login</a> |
---|
[1179] | 60 | with your Student Id <span tal:replace="registered" />. |
---|
[1177] | 61 | </span> |
---|
[1179] | 62 | </font> |
---|
[1175] | 63 | </div> |
---|
| 64 | <form tal:condition="not: registered" action="" method="post" |
---|
[1169] | 65 | tal:attributes="action string:${context/portal_url}/set_access_data"> |
---|
[1177] | 66 | <input type="hidden" name="name" tal:attributes="value options/name" /> |
---|
[1169] | 67 | <input type="hidden" name="matric_no" tal:attributes="value student/matric_no" /> |
---|
| 68 | <input type="submit" |
---|
| 69 | class="standalone" |
---|
| 70 | value="Continue to Login!" |
---|
| 71 | name="submit" /> |
---|
| 72 | </form> |
---|
[1146] | 73 | </metal:main> |
---|
[1292] | 74 | </metal:body> |
---|
| 75 | |
---|