1 | <metal:body use-macro="here/slip_template/macros/master"> |
---|
2 | <metal:main fill-slot="main" |
---|
3 | tal:define="info context/getTranscriptInfo;" |
---|
4 | > |
---|
5 | <span tal:condition="not: info"> |
---|
6 | <span tal:content="here/illegal_view" /> |
---|
7 | </span> |
---|
8 | <span tal:condition="info"> |
---|
9 | <span tal:define= "is_so context/isSectionOfficer; |
---|
10 | is_ca context/isCourseAdviser; |
---|
11 | is_student info/is_student; |
---|
12 | with_score not: info/without_score|nothing; |
---|
13 | "> |
---|
14 | |
---|
15 | <h3> |
---|
16 | Transcript of <span tal:content="info/student_record/name" />: |
---|
17 | <br /> |
---|
18 | </h3> |
---|
19 | |
---|
20 | <span tal:omit-tag="" |
---|
21 | tal:content="structure python: info['app_doc'].render(proxy=info['app_doc'], |
---|
22 | layout_mode='view_info', |
---|
23 | layout_id='student_application')" |
---|
24 | /> |
---|
25 | |
---|
26 | |
---|
27 | <span tal:repeat="details info/year_details"> |
---|
28 | <span tal:define="year_courses info/year_courses; |
---|
29 | year python:year_courses[details['year']]" |
---|
30 | tal:condition="python:len(year)"> |
---|
31 | |
---|
32 | <br /> |
---|
33 | |
---|
34 | <h4> Year <span tal:replace="details/year" /> (Session <span tal:replace="details/session" />)</h4> |
---|
35 | |
---|
36 | <br /> |
---|
37 | |
---|
38 | <table class="contentListing" width="100%" id="folder_content"> |
---|
39 | <tr> |
---|
40 | <th style='text-align:center'></th> |
---|
41 | <th style='text-align:center'>session</th> |
---|
42 | <th style='text-align:center'>level</th> |
---|
43 | <th style='text-align:center'>semester</th> |
---|
44 | <th style='text-align:center'>credits</th> |
---|
45 | <th tal:condition="with_score" style='text-align:center'>score</th> |
---|
46 | <th style='text-align:center'>grade</th> |
---|
47 | <th style='text-align:center'>weight</th> |
---|
48 | <th style='text-align:center'></th> |
---|
49 | </tr> |
---|
50 | |
---|
51 | <tr tal:repeat="row year" |
---|
52 | tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> |
---|
53 | <td style='text-align:center' tal:content="row/code"></td> |
---|
54 | <td style='text-align:center' tal:content="row/session_id"></td> |
---|
55 | <td style='text-align:center' tal:content="row/level_id"></td> |
---|
56 | <td style='text-align:center'><span tal:content="row/semester" /></td> |
---|
57 | <td style='text-align:center' tal:content="row/credits"></td> |
---|
58 | <td tal:condition="with_score" style='text-align:center' tal:content="row/score"></td> |
---|
59 | <td style='text-align:center' tal:content="row/grade"></td> |
---|
60 | <td style='text-align:center' tal:content="row/weight"></td> |
---|
61 | <td style='text-align:center' tal:content="row/coe|nothing"></td> |
---|
62 | </tr> |
---|
63 | </table> |
---|
64 | |
---|
65 | <br /> |
---|
66 | <table> |
---|
67 | <tr tal:condition="details/total_credits" > |
---|
68 | <td width='200pt'>Total Credits:</td> |
---|
69 | <td tal:content="details/total_credits" /> |
---|
70 | </tr> |
---|
71 | <tr tal:condition="details/gpa"> |
---|
72 | <td>GPA:</td> |
---|
73 | <td><span tal:content="details/gpa" /></td> |
---|
74 | </tr> |
---|
75 | <tr> |
---|
76 | <td>Cumulative Total Credits:</td> |
---|
77 | <td tal:content="details/c_total_credits" /> |
---|
78 | </tr> |
---|
79 | <tr tal:condition="details/cgpa"> |
---|
80 | <td>CGPA:</td> |
---|
81 | <td><span tal:content="details/cgpa" /></td> |
---|
82 | </tr> |
---|
83 | </table> |
---|
84 | |
---|
85 | </span> |
---|
86 | </span> |
---|
87 | </span> |
---|
88 | </span> |
---|
89 | </metal:main> |
---|
90 | </metal:body> |
---|
91 | |
---|