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