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" /> Term One Academic Report (<span tal:content="info/level_str" />) |
---|
14 | </h3> <br /> |
---|
15 | <span tal:omit-tag="" tal:content="structure python: info['app_doc'].render(proxy=info['app_doc'], |
---|
16 | layout_mode='view_info', |
---|
17 | layout_id='student_application')" /> |
---|
18 | <br /> |
---|
19 | <span tal:condition="not:info/data_missing" tal:omit-tag=""> |
---|
20 | <table class="contentListing" id="folder_content" width="100%"> |
---|
21 | <span tal:define="sem python:('1','Term One','normal1')"> |
---|
22 | <tr tal:condition="python:info[sem[2]]"> |
---|
23 | <th /> |
---|
24 | <th align='center'>ATL</th> |
---|
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="python:context.portal_vocabularies.pastoral_grade.get(row['atl'])"></td> |
---|
37 | <td align="center" tal:content="row/ca1"></td> |
---|
38 | <td align="center" tal:content="row/ca2"></td> |
---|
39 | <td align="center" tal:content="row/exam"></td> |
---|
40 | <td align="center" tal:content="row/score_calc"></td> |
---|
41 | <td align="center" tal:content="row/grade"></td> |
---|
42 | </tr> |
---|
43 | <tr><td> </td> |
---|
44 | </tr> |
---|
45 | </span> |
---|
46 | </table> |
---|
47 | </span> |
---|
48 | |
---|
49 | <span tal:condition="python:False"> <br /><br /> |
---|
50 | <table width=100%> |
---|
51 | <tr > |
---|
52 | <td width=50%>Date:</td><td>Date:</td> |
---|
53 | </tr> |
---|
54 | </table> <br /><br /><br /><br /> |
---|
55 | <table width=100%> |
---|
56 | <tr > |
---|
57 | <td width=50% style="border-top-style:solid; border-top-width:1px; border-top-color:black"> Student</td> |
---|
58 | <td width=50% style="border-top-style:solid; border-top-width:1px; border-top-color:black">Course Adviser</td> |
---|
59 | </tr> |
---|
60 | </table> |
---|
61 | </span> |
---|
62 | </span> |
---|
63 | </span> |
---|
64 | </metal:main> |
---|
65 | </metal:body> |
---|