source: main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/studylevelpage.pt @ 8597

Last change on this file since 8597 was 8141, checked in by Henrik Bettermann, 13 years ago

Translate boolean values in tables and slips.

File size: 1.9 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 class="fieldname">
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>
18      <td i18n:translate="">
19        Total Credits:
20      </td>
21      <td>
22        <span tal:replace="view/total_credits">TOTAL</span>
23      </td>
24    </tr>
25  </tbody>
26</table>
27
28<h3 i18n:domain="waeup.kofa" i18n:translate="">Course Tickets</h3>
29
30<table class="display dataTable" i18n:domain="waeup.kofa">
31  <thead>
32    <tr>
33      <th i18n:translate="">Sem.</th>
34      <th i18n:translate="">Code</th>
35      <th i18n:translate="">Title</th>
36      <th i18n:translate="">Dept.</th>
37      <th i18n:translate="">Fact.</th>
38      <th i18n:translate="">Cred.</th>
39      <th i18n:translate="">Mand.</th>
40      <th i18n:translate="">Score</th>
41      <th i18n:translate="">CO</th>
42      <th i18n:translate="">Auto</th>
43    </tr>
44  </thead>
45  <tbody>
46    <tr tal:repeat="value view/translated_values" class="gradeC">
47      <td tal:content="value/semester">SEMESTER</td>
48      <td> <a tal:attributes="href value/__name__">
49      <span tal:content="value/code">CODE</span>
50      </a></td>
51      <td tal:content="value/title">TITLE</td>
52      <td tal:content="value/dcode">DEPARTMENT</td>
53      <td tal:content="value/fcode">FACULTY</td>
54      <td tal:content="value/credits">CREDITS</td>
55      <td tal:content="value/mandatory">MANDATORY</td>
56      <td tal:content="value/score|nothing">SCORE</td>
57      <td tal:content="value/carry_over">CO</td>
58      <td tal:content="value/automatic">AUTO</td>
59    </tr>
60  </tbody>
61</table>
62
63
64<div i18n:domain="waeup.kofa"
65  tal:condition="python: not len(context.keys())" i18n:translate="">
66  The're no tickets added yet.
67</div>
Note: See TracBrowser for help on using the repository browser.