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

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

Provide link to previous study courses.

Adjust titles and breadcrumbs.

File size: 2.3 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      <tr tal:condition="view/prev_studycourses">
50        <td i18n:translate="">
51            Previous Study Courses:
52        </td>
53        <td>
54          <span tal:repeat="value view/prev_studycourses">
55            <a tal:attributes="href value/href" tal:content="value/title">
56              FACULTY
57            </a>
58          </span>
59        </td>
60      </tr>
61  </tbody>
62</table>
63
64<h3 i18n:domain="waeup.kofa" i18n:translate="">Study Levels (Course Lists)</h3>
65
66<table i18n:domain="waeup.kofa">
67  <thead>
68    <tr>
69      <th i18n:translate="">Level Code</th>
70      <th i18n:translate="">Level Title</th>
71    </tr>
72  </thead>
73  <tbody>
74    <tr class="gradeC" tal:repeat="value context/values">
75      <td> <a tal:attributes="href value/__name__">
76      <span tal:content="value/level">CODE</span></a></td>
77      <td tal:content="value/level_title">TITLE</td>
78    </tr>
79  </tbody>
80</table>
81
82
83<div tal:condition="python: not len(context.keys())"
84    i18n:domain="waeup.kofa" i18n:translate="">
85  There are no levels registered yet.
86</div>
Note: See TracBrowser for help on using the repository browser.