source: main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/transcript.pt @ 17610

Last change on this file since 17610 was 17497, checked in by Henrik Bettermann, 18 months ago

Remove redundant ‚key‘ field from exports.
Adjust tests and code.
Add columns to transcript officers landing page.

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