1 | <metal:body use-macro="here/main_template/macros/master"> |
---|
2 | <metal:main fill-slot="main" |
---|
3 | tal:define="info context/getTranscriptInfo;"> |
---|
4 | <metal:block define-macro="edit_form"> |
---|
5 | |
---|
6 | <span tal:condition="not: info"> |
---|
7 | <span tal:content="here/illegal_view" /> |
---|
8 | </span> |
---|
9 | |
---|
10 | <span tal:condition="info"> |
---|
11 | <span tal:define= "is_so context/isSectionOfficer; |
---|
12 | is_ca context/isCourseAdviser; |
---|
13 | is_student info/is_student; |
---|
14 | with_score not: info/without_score|nothing; |
---|
15 | "> |
---|
16 | |
---|
17 | <a href="" |
---|
18 | tal:attributes="href string:${here/academicsParent}"> |
---|
19 | <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/> |
---|
20 | Up one level |
---|
21 | </a> |
---|
22 | |
---|
23 | <h3> |
---|
24 | <span tal:condition="python: is_so or is_ca"> |
---|
25 | <span tal:content="info/student_record/name" />: |
---|
26 | </span> |
---|
27 | <span tal:condition="is_student">My </span> Transcript |
---|
28 | <br /> |
---|
29 | </h3> |
---|
30 | |
---|
31 | <span tal:repeat="details info/year_details"> |
---|
32 | <span tal:define="year_courses info/year_courses; |
---|
33 | year python:year_courses[details['year']]" |
---|
34 | tal:condition="python:len(year)"> |
---|
35 | |
---|
36 | <br /> |
---|
37 | |
---|
38 | <h3> Year <span tal:replace="details/year" /> (Session <span tal:replace="details/session" />)</h3> |
---|
39 | |
---|
40 | |
---|
41 | |
---|
42 | |
---|
43 | <br /> |
---|
44 | |
---|
45 | <table class="contentListing" width="100%" id="folder_content"> |
---|
46 | <tr> |
---|
47 | <th align='center'></th> |
---|
48 | <th align='center'>session</th> |
---|
49 | <th align='center'>level</th> |
---|
50 | <th align='center'>semester</th> |
---|
51 | <th align='center'>credits</th> |
---|
52 | <th tal:condition="with_score" align='center'>score</th> |
---|
53 | <th align='center'>grade</th> |
---|
54 | <th align='center'>weight</th> |
---|
55 | <th align='center'></th> |
---|
56 | </tr> |
---|
57 | |
---|
58 | <tr tal:repeat="row year" |
---|
59 | tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> |
---|
60 | <td align="center" tal:content="row/code"></td> |
---|
61 | <td align='center' tal:content="row/session_id"></td> |
---|
62 | <td align='center' tal:content="row/level_id"></td> |
---|
63 | <td align="center"><span tal:content="row/semester" /></td> |
---|
64 | <td align="center" tal:content="row/credits"></td> |
---|
65 | <td tal:condition="with_score" align="center" tal:content="row/score"></td> |
---|
66 | <td align="center" tal:content="row/grade"></td> |
---|
67 | <td align="center" tal:content="row/weight"></td> |
---|
68 | <td align="center" tal:content="row/coe|nothing"></td> |
---|
69 | </tr> |
---|
70 | </table> |
---|
71 | |
---|
72 | <br /> |
---|
73 | <table> |
---|
74 | <tr tal:condition="details/total_credits" > |
---|
75 | <th width='200pt'>Total Credits:</th> |
---|
76 | <td tal:content="details/total_credits" /> |
---|
77 | </tr> |
---|
78 | <tr tal:condition="details/gpa"> |
---|
79 | <th>GPA:</th> |
---|
80 | <td><span tal:content="details/gpa" /></td> |
---|
81 | </tr> |
---|
82 | <tr> |
---|
83 | <th>Cumulative Total Credits:</th> |
---|
84 | <td tal:content="details/c_total_credits" /> |
---|
85 | </tr> |
---|
86 | <tr tal:condition="details/cgpa"> |
---|
87 | <th>CGPA:</th> |
---|
88 | <td><span tal:content="details/cgpa" /></td> |
---|
89 | </tr> |
---|
90 | </table> |
---|
91 | |
---|
92 | </span> |
---|
93 | </span> |
---|
94 | |
---|
95 | |
---|
96 | |
---|
97 | |
---|
98 | |
---|
99 | <br /> |
---|
100 | </span> |
---|
101 | </span> |
---|
102 | </metal:block> |
---|
103 | </metal:main> |
---|
104 | |
---|
105 | </metal:body> |
---|
106 | |
---|