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