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

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

Show current study mode on StudyCourseDisplayFormPage?.

File size: 1.3 KB
Line 
1<h2 tal:content="view/label">TITLE</h2>
2
3<table class="zebra">
4<thead>
5</thead>
6<tbody>
7  <tal:block repeat="widget view/widgets">
8    <tr>
9      <td>
10        <label tal:attributes="for widget/name">
11          <span i18n:translate=""
12                         tal:content="widget/label">label</span>:
13        </label>
14      </td>
15      <td class="field" tal:on-error="default">
16        <div class="widget" tal:content="structure widget">
17          <input type="text" />
18        </div>
19      </td>
20    </tr>
21  </tal:block>
22    <tr>
23      <td>
24        <label>
25          Study Mode:
26        </label>
27      </td>
28      <td class="field" tal:on-error="default">
29        <div class="widget" tal:content="view/current_mode">
30          <input type="text" />
31        </div>
32      </td>
33    </tr>
34</tbody>
35</table>
36
37<h3>Study Levels (Course Lists)</h3>
38
39
40<table class="zebra">
41  <thead>
42    <tr>
43      <th>Level Code</th>
44      <th>Level Title</th>
45    </tr>
46  </thead>
47  <tbody>
48    <tr tal:repeat="value context/values">
49      <td> <a tal:attributes="href value/__name__">
50      <span tal:content="value/level">CODE</span></a></td>
51      <td tal:content="value/level_title">TITLE</td>
52    </tr>
53  </tbody>
54</table>
55
56
57<div tal:condition="python: not len(context.keys())">
58There are no levels registered yet.
59</div>
Note: See TracBrowser for help on using the repository browser.