source: main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/studylevelpage.pt @ 6796

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

Copy all data from the course and its course referrer into course tickets.

A course ticket contains a copy of the original course and
course referrer data. If the courses and/or their referrers are removed, the
corresponding tickets remain unchanged. So we do not need any event
triggered actions on course ticket.

File size: 1.4 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</tbody>
23</table>
24
25<h3>Course Tickets</h3>
26
27<table class="zebra">
28  <thead>
29    <tr>
30      <th>Level</th>
31      <th>Course Code</th>
32      <th>Course Title</th>
33      <th>Department</th>
34      <th>Faculty</th>
35      <th>Credits</th>
36      <th>Mandatory</th>
37      <th>Score</th>
38    </tr>
39  </thead>
40  <tbody>
41    <tr tal:repeat="value context/values">
42      <td tal:content="value/level">LEVEL</td>
43      <td> <a tal:attributes="href value/__name__">
44      <span tal:content="value/code">CODE</span>
45      </a></td>
46      <td tal:content="value/title">TITLE</td>
47      <td tal:content="value/department">DEPARTMENT</td>
48      <td tal:content="value/faculty">FACULTY</td>
49      <td tal:content="value/credits">CREDITS</td>
50      <td tal:content="value/core_or_elective">MANDATORY</td>
51      <td tal:content="value/score">SCORE</td>
52
53    </tr>
54  </tbody>
55</table>
56
57
58<div tal:condition="python: not len(context.keys())">
59There no levels registered yet.
60</div>
Note: See TracBrowser for help on using the repository browser.