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 info/show_check_boxes; |
---|
10 | is_student info/is_student; |
---|
11 | validated info/validated; |
---|
12 | term_complete info/complete1; |
---|
13 | term options/term; |
---|
14 | sem_series python:(('Term One','normal1','complete1','score_calc_average_1'),('Term Two','normal2','complete2','score_calc_average_2'),('Term Three','normal3','complete3','score_calc_average_3')); |
---|
15 | sem python:sem_series[int(term)-1]; |
---|
16 | "> |
---|
17 | |
---|
18 | <h3> <span tal:content="info/session" /> <span tal:content="python:sem[0]" /> Academic Report (<span tal:content="info/level_str" />) |
---|
19 | </h3> <br /> |
---|
20 | <span tal:omit-tag="" tal:content="structure python: info['app_doc'].render(proxy=info['app_doc'], |
---|
21 | layout_mode='view_info', |
---|
22 | layout_id='student_application')" /> |
---|
23 | <table> |
---|
24 | <tr> |
---|
25 | <td width="180px">Passmark:</td><td>55</td> |
---|
26 | </tr> |
---|
27 | <tr> |
---|
28 | <td>Student's Average:</td><td tal:content="python:info[sem[3]]"></td> |
---|
29 | </tr> |
---|
30 | </table> |
---|
31 | <br /> |
---|
32 | |
---|
33 | <span tal:condition="python:info[sem[2]]" tal:omit-tag=""> |
---|
34 | <table class="contentListing" id="folder_content" width="100%"> |
---|
35 | <tr tal:condition="python:info[sem[1]]"> |
---|
36 | <th /> |
---|
37 | <th align='center'>Attitude To <br />Learning</th> |
---|
38 | <th align='center'>CA 1 <br />Marks</th> |
---|
39 | <th align='center'>CA 2 <br />Marks</th> |
---|
40 | <th align='center'>Exam <br />Marks</th> |
---|
41 | <th align='center'>Overall <br />Marks</th> |
---|
42 | <th align='center'>Grade</th> |
---|
43 | <th tal:condition="is_so" align='center'> |
---|
44 | </th> |
---|
45 | </tr> |
---|
46 | <tr tal:repeat="row python:info[sem[1]]" |
---|
47 | tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> |
---|
48 | <td tal:content="row/title"></td> |
---|
49 | <td align="center" tal:content="python:context.portal_vocabularies.pastoral_grade.get(row['atl'])"></td> |
---|
50 | <td align="center" tal:content="row/ca1"></td> |
---|
51 | <td align="center" tal:content="row/ca2"></td> |
---|
52 | <td align="center" tal:content="row/exam"></td> |
---|
53 | <td align="center" tal:content="row/score_calc"></td> |
---|
54 | <td align="center" tal:content="row/grade"></td> |
---|
55 | </tr> |
---|
56 | <tr><td> </td> |
---|
57 | </tr> |
---|
58 | </table> |
---|
59 | |
---|
60 | |
---|
61 | <span tal:condition="python:True"> <br /><br /> |
---|
62 | <table width=100%> |
---|
63 | <tr > |
---|
64 | <td width=40%> </td> |
---|
65 | <td width=30%>Date: 12/12/2008</td> |
---|
66 | <td width=30%>Ms J.C. Butler</td> |
---|
67 | </tr> |
---|
68 | <tr > |
---|
69 | <td width=40%> </td> |
---|
70 | <td width=30%></td> |
---|
71 | <td width=30%>Principal</td> |
---|
72 | </tr> |
---|
73 | </table> |
---|
74 | </span> |
---|
75 | </span> |
---|
76 | |
---|
77 | <span tal:condition="python:not info[sem[2]]" tal:omit-tag=""> |
---|
78 | |
---|
79 | <font color=red>Report not yet complete</font> |
---|
80 | |
---|
81 | </span> |
---|
82 | |
---|
83 | |
---|
84 | </span> |
---|
85 | </span> |
---|
86 | </metal:main> |
---|
87 | </metal:body> |
---|