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

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

Show department and faculty name on studycourse page.

File size: 1.8 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">
29        <div class="widget" tal:content="view/current_mode">
30          <input type="text" />
31        </div>
32      </td>
33    </tr>
34    <tr>
35      <td>
36        <label>
37          Department:
38        </label>
39      </td>
40      <td class="field">
41        <div class="widget"
42             tal:content="view/context/certificate/__parent__/__parent__/longtitle">
43          <input type="text" />
44        </div>
45      </td>
46    </tr>
47    <tr>
48      <td>
49        <label>
50          Faculty:
51        </label>
52      </td>
53      <td class="field">
54        <div class="widget"
55             tal:content="view/context/certificate/__parent__/__parent__/__parent__/longtitle">
56          <input type="text" />
57        </div>
58      </td>
59    </tr>
60</tbody>
61</table>
62
63<h3>Study Levels (Course Lists)</h3>
64
65
66<table class="zebra">
67  <thead>
68    <tr>
69      <th>Level Code</th>
70      <th>Level Title</th>
71    </tr>
72  </thead>
73  <tbody>
74    <tr 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())">
84There are no levels registered yet.
85</div>
Note: See TracBrowser for help on using the repository browser.