1 | <metal:body use-macro="here/slip_template/macros/master"> |
---|
2 | <metal:main fill-slot="main" tal:define="info context/getStudyLevelInfo;" > |
---|
3 | <span tal:condition="not: info"> |
---|
4 | <span tal:content="here/illegal_view" /> |
---|
5 | </span> |
---|
6 | <span tal:condition="info" tal:omit-tag=""> |
---|
7 | <span tal:omit-tag="" tal:define="is_so info/is_so; |
---|
8 | is_ca info/is_ca; |
---|
9 | show_check_boxes |
---|
10 | info/show_check_boxes; |
---|
11 | is_student info/is_student; |
---|
12 | validated info/validated; "> |
---|
13 | <h3> <span tal:content="info/session" /> Academic Report (<span tal:content="info/student/course" /> |
---|
14 | <span tal:content="info/level_str" />) |
---|
15 | </h3> <br /> |
---|
16 | <span tal:omit-tag="" tal:content="structure python: info['app_doc'].render(proxy=info['app_doc'], |
---|
17 | layout_mode='view_info', |
---|
18 | layout_id='student_application')" /> |
---|
19 | <br /> |
---|
20 | <span tal:condition="not:info/data_missing" tal:omit-tag=""> |
---|
21 | <table class="contentListing" id="folder_content" width="100%"> |
---|
22 | <span tal:repeat="sem python:(('1','Term One','normal1'),('2','Term Two','normal2'),('3','Term Three','normal3'))"> |
---|
23 | <tr tal:condition="python:info[sem[2]]"> |
---|
24 | <th tal:content="python:sem[1]" /> |
---|
25 | <th align='center'>CA 1 <br />Marks</th> |
---|
26 | <th align='center'>CA 2 <br />Marks</th> |
---|
27 | <th align='center'>Exam <br />Marks</th> |
---|
28 | <th align='center'>Overall <br />Marks</th> |
---|
29 | <th align='center'>Grade</th> |
---|
30 | <th tal:condition="is_so" align='center'> |
---|
31 | </th> |
---|
32 | </tr> |
---|
33 | <tr tal:repeat="row python:info[sem[2]]" |
---|
34 | tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> |
---|
35 | <td tal:content="row/title"></td> |
---|
36 | <td align="center" tal:content="row/ca1"></td> |
---|
37 | <td align="center" tal:content="row/ca2"></td> |
---|
38 | <td align="center" tal:content="row/exam"></td> |
---|
39 | <td align="center" tal:content="row/score_calc"></td> |
---|
40 | <td align="center" tal:content="row/grade"></td> |
---|
41 | </tr> |
---|
42 | <tr><td> </td> |
---|
43 | </tr> |
---|
44 | </span> |
---|
45 | </table> |
---|
46 | </span> |
---|
47 | |
---|
48 | <span tal:condition="python:False"> <br /><br /> |
---|
49 | <table width=100%> |
---|
50 | <tr > |
---|
51 | <td width=50%>Date:</td><td>Date:</td> |
---|
52 | </tr> |
---|
53 | </table> <br /><br /><br /><br /> |
---|
54 | <table width=100%> |
---|
55 | <tr > |
---|
56 | <td width=50% style="border-top-style:solid; border-top-width:1px; border-top-color:black"> Student</td> |
---|
57 | <td width=50% style="border-top-style:solid; border-top-width:1px; border-top-color:black">Course Adviser</td> |
---|
58 | </tr> |
---|
59 | </table> |
---|
60 | </span> |
---|
61 | </span> |
---|
62 | </span> |
---|
63 | </metal:main> |
---|
64 | </metal:body> |
---|