source: main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/studycoursepage.pt @ 10807

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

Backup today's work (mainly student navigation).

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