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'>ATL</th> |
---|
26 | <th align='center'>CA 1 <br />Marks</th> |
---|
27 | <th align='center'>CA 2 <br />Marks</th> |
---|
28 | <th align='center'>Exam <br />Marks</th> |
---|
29 | <th align='center'>Overall <br />Marks</th> |
---|
30 | <th align='center'>Grade</th> |
---|
31 | <th tal:condition="is_so" align='center'> |
---|
32 | </th> |
---|
33 | </tr> |
---|
34 | <tr tal:repeat="row python:info[sem[2]]" |
---|
35 | tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> |
---|
36 | <td tal:content="row/title"></td> |
---|
37 | <td align="center" tal:content="python:context.portal_vocabularies.pastoral_grade.get(row['atl'])"></td> |
---|
38 | <td align="center" tal:content="row/ca1"></td> |
---|
39 | <td align="center" tal:content="row/ca2"></td> |
---|
40 | <td align="center" tal:content="row/exam"></td> |
---|
41 | <td align="center" tal:content="row/score_calc"></td> |
---|
42 | <td align="center" tal:content="row/grade"></td> |
---|
43 | </tr> |
---|
44 | <tr><td> </td> |
---|
45 | </tr> |
---|
46 | </span> |
---|
47 | </table> |
---|
48 | </span> |
---|
49 | |
---|
50 | <span tal:condition="python:False"> <br /><br /> |
---|
51 | <table width=100%> |
---|
52 | <tr > |
---|
53 | <td width=50%>Date:</td><td>Date:</td> |
---|
54 | </tr> |
---|
55 | </table> <br /><br /><br /><br /> |
---|
56 | <table width=100%> |
---|
57 | <tr > |
---|
58 | <td width=50% style="border-top-style:solid; border-top-width:1px; border-top-color:black"> Student</td> |
---|
59 | <td width=50% style="border-top-style:solid; border-top-width:1px; border-top-color:black">Course Adviser</td> |
---|
60 | </tr> |
---|
61 | </table> |
---|
62 | </span> |
---|
63 | </span> |
---|
64 | </span> |
---|
65 | </metal:main> |
---|
66 | </metal:body> |
---|