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

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

Export course registration slip on two pages.
Set columns width of each column.
Show semester on all course registration view.

ToDo?: Sort course tickets by semester on course registration slip.

File size: 1.7 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>Total Credits:</label>
25    </td>
26    <td>
27      <span tal:replace="view/total_credits">TOTAL</span>
28    </td>
29  </tr>
30</tbody>
31</table>
32
33<h3>Course Tickets</h3>
34
35<table class="display dataTable" >
36  <thead>
37    <tr>
38      <th>Semester</th>
39      <th>Code</th>
40      <th>Title</th>
41      <th>Department</th>
42      <th>Faculty</th>
43      <th>Credits</th>
44      <th>Mandatory</th>
45      <th>Score</th>
46      <th>Auto</th>
47    </tr>
48  </thead>
49  <tbody>
50    <tr tal:repeat="value context/values">
51      <td tal:content="value/semester">SEMESTER</td>
52      <td> <a tal:attributes="href value/__name__">
53      <span tal:content="value/code">CODE</span>
54      </a></td>
55      <td tal:content="value/title">TITLE</td>
56      <td tal:content="value/department">DEPARTMENT</td>
57      <td tal:content="value/faculty">FACULTY</td>
58      <td tal:content="value/credits">CREDITS</td>
59      <td tal:content="value/core_or_elective">MANDATORY</td>
60      <td tal:content="value/score">SCORE</td>
61      <td tal:content="value/automatic">AUTO</td>
62    </tr>
63  </tbody>
64</table>
65
66
67<div tal:condition="python: not len(context.keys())">
68There no levels registered yet.
69</div>
Note: See TracBrowser for help on using the repository browser.