source: main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/studylevelmanagepage.pt @ 8921

Last change on this file since 8921 was 8921, checked in by Henrik Bettermann, 12 years ago

Translate boolean values also in edit and manage pages.

File size: 2.8 KB
Line 
1<form action="." tal:attributes="action request/URL" method="POST"
2      i18n:domain="waeup.kofa" enctype="multipart/form-data">
3
4  <ul class="tabs" data-tabs="tabs">
5    <li tal:attributes="class view/tab1"><a href="#tab-1">
6      <span i18n:translate="">Study Level Data</span></a>
7    </li>
8    <li tal:attributes="class view/tab2"><a href="#tab-2">
9      <span i18n:translate="">Course Tickets</span>
10    </a></li>
11  </ul>
12
13  <div class="tab-content">
14    <div id="tab-1" tal:attributes="class view/tab1">
15      <table class="form-table">
16      <tbody>
17        <tal:widgets content="structure provider:widgets" />
18      </tbody>
19      </table>
20      <div tal:condition="view/availableActions">
21        <span tal:repeat="action view/actions"
22              tal:omit-tag="">
23          <input tal:condition="python:action.label in view.taboneactions"
24                 tal:replace="structure action/render"/>
25        </span>
26      </div>
27    </div>
28
29    <div id="tab-2" tal:attributes="class view/tab2">
30      <h3 i18n:translate="">Course Tickets</h3>
31      <table class="display dataTableManage">
32      <thead>
33        <tr>
34          <th>&nbsp;</th>
35          <th i18n:translate="">Sem.</th>
36          <th i18n:translate="">Code</th>
37          <th i18n:translate="">Title</th>
38          <th i18n:translate="">Dept.</th>
39          <th i18n:translate="">Fact.</th>
40          <th i18n:translate="">Cred.</th>
41          <th i18n:translate="">Mand.</th>
42          <th i18n:translate="">Score</th>
43          <th i18n:translate="">CO</th>
44          <th i18n:translate="">Auto</th>
45        </tr>
46      </thead>
47      <tbody>
48        <tr tal:repeat="value view/translated_values" class="gradeC">
49          <td>
50            <input type="checkbox" name="val_id"
51                  tal:attributes="value value/__name__" />
52          </td>
53          <td tal:content="value/semester">SEMESTER</td>
54          <td> <a tal:attributes="href value/__name__">
55          <span tal:content="value/code">CODE</span>
56          </a></td>
57          <td tal:content="value/title">TITLE</td>
58          <td tal:content="value/dcode">DEPARTMENT</td>
59          <td tal:content="value/fcode">FACULTY</td>
60          <td tal:content="value/credits">CREDITS</td>
61          <td tal:content="value/mandatory">MANDATORY</td>
62          <td tal:content="value/score|nothing">SCORE</td>
63          <td tal:content="value/carry_over">CO</td>
64          <td tal:content="value/automatic">AUTO</td>
65        </tr>
66      </tbody>
67      </table>
68
69      <div tal:condition="view/availableActions">
70        <span tal:repeat="action view/actions"
71              tal:omit-tag="">
72          <input tal:condition="python:action.label in view.tabtwoactions"
73                 tal:replace="structure action/render"/>
74        </span>
75      </div>
76
77    </div>
78  </div>
79</form> 
80
81
82
Note: See TracBrowser for help on using the repository browser.