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

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

Display total credits.

File size: 1.6 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="zebra">
36  <thead>
37    <tr>
38      <th>Code</th>
39      <th>Title</th>
40      <th>Department</th>
41      <th>Faculty</th>
42      <th>Credits</th>
43      <th>Mandatory</th>
44      <th>Score</th>
45      <th>Automatic</th>
46    </tr>
47  </thead>
48  <tbody>
49    <tr tal:repeat="value context/values">
50      <td> <a tal:attributes="href value/__name__">
51      <span tal:content="value/code">CODE</span>
52      </a></td>
53      <td tal:content="value/title">TITLE</td>
54      <td tal:content="value/department">DEPARTMENT</td>
55      <td tal:content="value/faculty">FACULTY</td>
56      <td tal:content="value/credits">CREDITS</td>
57      <td tal:content="value/core_or_elective">MANDATORY</td>
58      <td tal:content="value/score">SCORE</td>
59      <td tal:content="value/automatic">AUTOMATIC</td>
60    </tr>
61  </tbody>
62</table>
63
64
65<div tal:condition="python: not len(context.keys())">
66There no levels registered yet.
67</div>
Note: See TracBrowser for help on using the repository browser.