source: main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/studycoursepage.pt @ 8428

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

Clean-up css and labels.

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="filedname">
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            Study Mode:
20        </td>
21        <td>
22          <div tal:content="view/current_mode">
23          CURRENTMODE
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>
32          <a tal:attributes="href python: view.url(view.department)"
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>
43          <a tal:attributes="href python: view.url(view.faculty)"
44               tal:content="view/faculty/longtitle">
45            FACULTY
46          </a>
47        </td>
48      </tr>
49  </tbody>
50</table>
51
52<h3 i18n:domain="waeup.kofa" i18n:translate="">Study Levels (Course Lists)</h3>
53
54<table i18n:domain="waeup.kofa">
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.kofa" i18n:translate="">
73  There are no levels registered yet.
74</div>
Note: See TracBrowser for help on using the repository browser.