1 | <tal:def define="tdata python:context.getTranscriptData()"> |
---|
2 | <table class="form-table" i18n:domain="waeup.kofa"> |
---|
3 | <thead> |
---|
4 | </thead> |
---|
5 | <tbody> |
---|
6 | <tal:block repeat="widget view/widgets"> |
---|
7 | <tr> |
---|
8 | <td> |
---|
9 | <span tal:content="widget/label">label</span>: |
---|
10 | </td> |
---|
11 | <td tal:on-error="default"> |
---|
12 | <div tal:content="structure widget"> |
---|
13 | <input type="text" /> |
---|
14 | </div> |
---|
15 | </td> |
---|
16 | </tr> |
---|
17 | </tal:block> |
---|
18 | <tr> |
---|
19 | <td> |
---|
20 | <span i18n:translate="">Cumulative GPA</span>: |
---|
21 | </td> |
---|
22 | <td> |
---|
23 | <div tal:content="python:'%.3f' % tdata[1]">GPA</div> |
---|
24 | </td> |
---|
25 | </tr> |
---|
26 | </tbody> |
---|
27 | </table> |
---|
28 | |
---|
29 | <h3 i18n:domain="waeup.kofa" i18n:translate="">Subjects/Courses</h3> |
---|
30 | |
---|
31 | <table i18n:domain="waeup.kofa" class="form-table" > |
---|
32 | <thead> |
---|
33 | <tr> |
---|
34 | <th i18n:translate="">Level</th> |
---|
35 | <th i18n:translate="">Session</th> |
---|
36 | <th i18n:translate="">Term</th> |
---|
37 | <th i18n:translate="">Course</th> |
---|
38 | <th i18n:translate="">Title</th> |
---|
39 | <th i18n:translate="">Credits</th> |
---|
40 | <th i18n:translate="">Grade</th> |
---|
41 | </tr> |
---|
42 | </thead> |
---|
43 | <tbody> |
---|
44 | <tal:levels tal:repeat="level python:tdata[0]"> |
---|
45 | <tal:semesters tal:repeat="semester_tickets python:(level['tickets_1'], |
---|
46 | level['tickets_2'], level['tickets_3'])"> |
---|
47 | <tr tal:repeat="ticket semester_tickets"> |
---|
48 | <td tal:content="python: view.level_dict.get('ticket.level', ticket.level)">LEVEL</td> |
---|
49 | <td tal:content="python: view.session_dict[ticket.level_session]">SESSION</td> |
---|
50 | <td tal:content="python: view.semester_dict[ticket.semester]">SEMESTER</td> |
---|
51 | <td tal:content="ticket/code">CODE</td> |
---|
52 | <td tal:content="ticket/title">TITLE</td> |
---|
53 | <td tal:content="ticket/credits">CREDITS</td> |
---|
54 | <td tal:content="ticket/grade|nothing">GRADE</td> |
---|
55 | </tr> |
---|
56 | </tal:semesters> |
---|
57 | </tal:levels> |
---|
58 | </tbody> |
---|
59 | </table> |
---|
60 | <br /> |
---|
61 | <div tal:content="python:getattr(context, 'transcript_signees', '')">SIGNEES</div> |
---|
62 | </tal:def> |
---|