1 | <metal:body use-macro="here/slip_template/macros/master"> |
---|
2 | <metal:main fill-slot="main" |
---|
3 | tal:define="info context/getStudyLevelInfo"> |
---|
4 | <span tal:condition="not: info"> |
---|
5 | <span tal:content="here/illegal_view" /> |
---|
6 | </span> |
---|
7 | <span tal:condition="info" tal:omit-tag=""> |
---|
8 | <h3>Session Results of <span tal:content="info/student/name" /> |
---|
9 | </h3> |
---|
10 | <br /> |
---|
11 | <table> |
---|
12 | <tr> |
---|
13 | <th width="180px">Student ID:</th> |
---|
14 | <td> |
---|
15 | <span tal:replace="info/student/id" /> |
---|
16 | </td> |
---|
17 | </tr> |
---|
18 | |
---|
19 | <tr> |
---|
20 | <th width="150px">Matriculation Number:</th><td tal:content="info/student/matric_no" /> |
---|
21 | </tr> |
---|
22 | <tr> |
---|
23 | <th>Level:</th><td tal:content="info/level_str" /> |
---|
24 | </tr> |
---|
25 | <tr> |
---|
26 | <th width="180px">Verdict:</th><td tal:content="info/verdict" /> |
---|
27 | </tr> |
---|
28 | <tr> |
---|
29 | <th>Session:</th><td tal:content="info/session" /> |
---|
30 | </tr> |
---|
31 | <tr> |
---|
32 | <th valign="top">GPA:</th><td> <span tal:content="info/gpa" /> (on the basis of the data below) </td> |
---|
33 | </tr> |
---|
34 | </table> |
---|
35 | |
---|
36 | <span tal:condition="info/carry_overs" tal:omit-tag=""> |
---|
37 | <h3>Carryover Courses</h3> |
---|
38 | <br /> |
---|
39 | <table tal:condition="python: 1" class="contentListing" width="100%" summary="content layout" id="folder_content"> |
---|
40 | <tr tal:repeat="row info/carry_overs" |
---|
41 | tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> |
---|
42 | |
---|
43 | <td width="78%" tal:content="row/title"></td> |
---|
44 | <td align="center" width="10%" tal:content="row/code"></td> |
---|
45 | <td align="center" width="2%"><span tal:content="row/semester" /></td> |
---|
46 | <td align="center" width="2%" tal:content="row/credits"></td> |
---|
47 | <td align="center" width="4%" tal:content="row/score"></td> |
---|
48 | <td align="center" width="2%" tal:content="row/grade"></td> |
---|
49 | <td align="center" width="2%" tal:content="row/weight"></td> |
---|
50 | |
---|
51 | </tr> |
---|
52 | </table> |
---|
53 | </span> |
---|
54 | |
---|
55 | <span tal:condition="not:info/data_missing" tal:omit-tag=""> |
---|
56 | <h3>Session Courses</h3> |
---|
57 | <br /> |
---|
58 | |
---|
59 | <table class="contentListing" width="100%" id="folder_content"> |
---|
60 | |
---|
61 | <span tal:repeat="sem python:('1','2')"> |
---|
62 | |
---|
63 | <tr> |
---|
64 | <th tal:attributes="colspan python: 1" |
---|
65 | tal:content="python: test(sem == '1','First Semester', 'Second Semester')" /> |
---|
66 | <th align='center'></th> |
---|
67 | <th align='center'>sm</th> |
---|
68 | <th align='center'>cr</th> |
---|
69 | <th align='center'>sc</th> |
---|
70 | <th align='center'>gr</th> |
---|
71 | <th align='center'>wt</th> |
---|
72 | |
---|
73 | </tr> |
---|
74 | <tr tal:repeat="row python: test(sem == '1',info['normal1'],info['normal2'])" |
---|
75 | tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> |
---|
76 | |
---|
77 | <td width="78%" tal:content="row/title"></td> |
---|
78 | <td align="center" width="10%" tal:content="row/code"></td> |
---|
79 | <td align="center" width="2%"><span tal:content="row/semester" /></td> |
---|
80 | <td align="center" width="2%" tal:content="row/credits"></td> |
---|
81 | <td align="center" width="4%" tal:content="row/score"></td> |
---|
82 | <td align="center" width="2%" tal:content="row/grade"></td> |
---|
83 | <td align="center" width="2%" tal:content="row/weight"></td> |
---|
84 | </tr> |
---|
85 | |
---|
86 | </span> |
---|
87 | |
---|
88 | <tr><th colspan="3" tal:condition="info/normal3"> Combined</th></tr> |
---|
89 | <tr tal:condition="info/normal3" tal:repeat="row info/normal3" |
---|
90 | tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> |
---|
91 | |
---|
92 | <td width="78%" tal:content="row/title"></td> |
---|
93 | <td align="center" width="10%" tal:content="row/code"></td> |
---|
94 | <td align="center" width="2%"><span tal:content="row/semester" /></td> |
---|
95 | <td align="center" width="2%" tal:content="row/credits"></td> |
---|
96 | <td align="center" width="4%" tal:content="row/score"></td> |
---|
97 | <td align="center" width="2%" tal:content="row/grade"></td> |
---|
98 | <td align="center" width="2%" tal:content="row/weight"></td> |
---|
99 | |
---|
100 | |
---|
101 | </tr> |
---|
102 | |
---|
103 | </table> |
---|
104 | </span> |
---|
105 | |
---|
106 | <br /> |
---|
107 | <table> |
---|
108 | <tr><th>sm:</th> <td>Semester</td></tr> |
---|
109 | <tr><th>cr:</th> <td>Credits</td></tr> |
---|
110 | <tr><th>sc:</th> <td>Score</td></tr> |
---|
111 | <tr><th>gr: </th> <td>Grade</td></tr> |
---|
112 | <tr><th>wt: </th> <td>Weight</td></tr> |
---|
113 | </table> |
---|
114 | |
---|
115 | </span> |
---|
116 | </metal:main> |
---|
117 | </metal:body> |
---|
118 | |
---|