source: main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/studycoursepage.pt @ 9809

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

Finalize internationalization of py and pt files. Javascript is still missing.

File size: 2.0 KB
Line 
1<table class="form-table" i18n:domain="waeup.sirp">
2  <thead>
3  </thead>
4  <tbody>
5    <tal:block repeat="widget view/widgets">
6      <tr>
7        <td class="filedname">
8          <span tal:content="widget/label">label</span>:
9        </td>
10        <td tal:on-error="default">
11          <div class="widget" tal:content="structure widget">
12            <input type="text" />
13          </div>
14        </td>
15      </tr>
16    </tal:block>
17      <tr>
18        <td i18n:translate="">
19            Study Mode:
20        </td>
21        <td class="field">
22          <div class="widget" tal:content="view/current_mode">
23            <input type="text" />
24          </div>
25        </td>
26      </tr>
27      <tr tal:condition="python: view.department is not None">
28        <td i18n:translate="">
29            Department:
30        </td>
31        <td class="field">
32          <a tal:attributes="href python: view.url(view.department)" class="widget"
33               tal:content="view/department/longtitle">
34            DEPARTMENT
35          </a>
36        </td>
37      </tr>
38      <tr tal:condition="python: view.faculty is not None">
39        <td i18n:translate="">
40            Faculty:
41        </td>
42        <td class="field">
43          <a tal:attributes="href python: view.url(view.faculty)" class="widget"
44               tal:content="view/faculty/longtitle">
45            FACULTY
46          </a>
47        </td>
48      </tr>
49  </tbody>
50</table>
51
52<h3 i18n:domain="waeup.sirp" i18n:translate="">Study Levels (Course Lists)</h3>
53
54<table i18n:domain="waeup.sirp">
55  <thead>
56    <tr>
57      <th i18n:translate="">Level Code</th>
58      <th i18n:translate="">Level Title</th>
59    </tr>
60  </thead>
61  <tbody>
62    <tr class="gradeC" tal:repeat="value context/values">
63      <td> <a tal:attributes="href value/__name__">
64      <span tal:content="value/level">CODE</span></a></td>
65      <td tal:content="value/level_title">TITLE</td>
66    </tr>
67  </tbody>
68</table>
69
70
71<div tal:condition="python: not len(context.keys())"
72    i18n:domain="waeup.sirp" i18n:translate="">
73  There are no levels registered yet.
74</div>
Note: See TracBrowser for help on using the repository browser.