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','yga1','counter1','date1','over_pos_term1','no_stud_term1'), |
---|
15 | ('Term Two','normal2','complete2','score_calc_average_2','yga2','counter2','date2','over_pos_term2','no_stud_term2'), |
---|
16 | ('Term Three','normal3','complete3','score_calc_average_3','yga3','counter3','date3','over_pos_term3','no_stud_term3','over_pos_cum','no_stud_cum','score_calc_average_cum')); |
---|
17 | sem python:sem_series[int(term)-1]; |
---|
18 | "> |
---|
19 | |
---|
20 | <h3> <span tal:content="info/session" /> <span tal:content="python:sem[0]" /> Academic Report (<span tal:content="info/level_str" />) |
---|
21 | </h3> <br /> |
---|
22 | <span tal:omit-tag="" tal:content="structure python: info['app_doc'].render(proxy=info['app_doc'], |
---|
23 | layout_mode='view_info', |
---|
24 | layout_id='student_application')" /> |
---|
25 | |
---|
26 | |
---|
27 | <span tal:condition="python:info[sem[2]]" tal:omit-tag=""> |
---|
28 | |
---|
29 | <table> |
---|
30 | <tr> |
---|
31 | <td width="180px">Passmark:</td><td>55%</td> |
---|
32 | </tr> |
---|
33 | <tr> |
---|
34 | <td>Student's Average in Term:</td><td tal:content="python:info[sem[3]]"></td> |
---|
35 | </tr> |
---|
36 | <tr> |
---|
37 | <td>Year Group Average in Term:</td><td> <span tal:content="python:info[sem[4]]" /> (<span tal:content="python:info[sem[5]]" /> overall marks)</td> |
---|
38 | </tr> |
---|
39 | <tr> |
---|
40 | <td>Overall Position in Term:</td><td> <span tal:content="python:info[sem[7]]" /> of <span tal:content="python:info[sem[8]]" /></td> |
---|
41 | </tr> |
---|
42 | |
---|
43 | <tr tal:condition="python:int(term)==3"> |
---|
44 | <td>Overall Position in Year:</td><td> <span tal:content="python:info[sem[9]]" /> </td> |
---|
45 | </tr> |
---|
46 | <tr tal:condition="python:int(term)==3"> |
---|
47 | <td>Student's Average in Year:</td><td> <span tal:content="python:info[sem[11]]" /> </td> |
---|
48 | </tr> |
---|
49 | |
---|
50 | </table> |
---|
51 | <br /> <br /> |
---|
52 | |
---|
53 | <table class="contentListing" id="folder_content" width="100%"> |
---|
54 | <tr tal:condition="python:info[sem[1]]"> |
---|
55 | <th /> |
---|
56 | <th style='text-align:center'>Attitude To <br />Learning</th> |
---|
57 | <th style='text-align:center'>CA 1 <br />Marks</th> |
---|
58 | <th style='text-align:center'>CA 2 <br />Marks</th> |
---|
59 | <th style='text-align:center'>Exam <br />Marks</th> |
---|
60 | <th style='text-align:center'>Overall <br />Marks</th> |
---|
61 | <th style='text-align:center'>Grade</th> |
---|
62 | <th style='text-align:center'>Pos. in <br /> Subject</th> |
---|
63 | <th tal:condition="is_so" style='text-align:center'> |
---|
64 | </th> |
---|
65 | </tr> |
---|
66 | <tr tal:repeat="row python:info[sem[1]]" |
---|
67 | tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> |
---|
68 | <td tal:content="row/title"></td> |
---|
69 | <td style='text-align:center' tal:content="python:context.portal_vocabularies.pastoral_grade.get(row['atl'])"></td> |
---|
70 | <td style='text-align:center' tal:content="row/ca1"></td> |
---|
71 | <td style='text-align:center' tal:content="row/ca2"></td> |
---|
72 | <td style='text-align:center' tal:content="row/exam"></td> |
---|
73 | <td style='text-align:center' tal:content="row/score_calc"></td> |
---|
74 | <td style='text-align:center' tal:content="row/grade"></td> |
---|
75 | <td style='text-align:center' tal:content="row/pic"></td> |
---|
76 | </tr> |
---|
77 | <tr><td> </td> |
---|
78 | </tr> |
---|
79 | </table> |
---|
80 | |
---|
81 | |
---|
82 | <span tal:condition="python:True"> <br /><br /> |
---|
83 | <table width=100%> |
---|
84 | <tr > |
---|
85 | <td width=50%> </td> |
---|
86 | <span tal:condition="python:info[sem[6]] != 'n/a'"> |
---|
87 | <td width=20%>Date: <span tal:content="python:info[sem[6]]"/> |
---|
88 | </td> |
---|
89 | <td width=30% style='text-align:center'> |
---|
90 | <img tal:attributes="src string:${static_base_url}valentine.jpg" alt="Signature"/> |
---|
91 | <br />Mr. S.A. Valentine |
---|
92 | <br />Principal</td> |
---|
93 | </span> |
---|
94 | <span tal:condition="python:info[sem[6]] == 'n/a'"> |
---|
95 | <td width=20%>Date and Signature: |
---|
96 | </td> |
---|
97 | <td width=30% style='text-align:center'> |
---|
98 | |
---|
99 | </td> |
---|
100 | </span> |
---|
101 | </tr> |
---|
102 | </table> |
---|
103 | </span> |
---|
104 | </span> |
---|
105 | |
---|
106 | <span tal:condition="python:not info[sem[2]]" tal:omit-tag=""> |
---|
107 | |
---|
108 | <br /> |
---|
109 | <font color=red>Report not yet complete</font> |
---|
110 | |
---|
111 | </span> |
---|
112 | |
---|
113 | |
---|
114 | </span> |
---|
115 | </span> |
---|
116 | </metal:main> |
---|
117 | </metal:body> |
---|