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

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

Move form label to site layout pagetemplates. This saves even more code.

File size: 1.5 KB
Line 
1<table class="form-table">
2<thead>
3</thead>
4<tbody>
5  <tal:block repeat="widget view/widgets">
6    <tr>
7      <td class="fieldname">
8        <span i18n:translate="" tal:content="widget/label">label</span>:
9      </td>
10      <td tal:on-error="default">
11        <div class="widget" tal:content="structure widget">
12          <input type="text" />
13        </div>
14      </td>
15    </tr>
16  </tal:block>
17  <tr>
18    <td>
19      Total Credits:
20    </td>
21    <td>
22      <span tal:replace="view/total_credits">TOTAL</span>
23    </td>
24  </tr>
25</tbody>
26</table>
27
28<h3>Course Tickets</h3>
29
30<table class="display dataTable">
31  <thead>
32    <tr>
33      <th>Semester</th>
34      <th>Code</th>
35      <th>Title</th>
36      <th>Department</th>
37      <th>Faculty</th>
38      <th>Credits</th>
39      <th>Mandatory</th>
40      <th>Score</th>
41      <th>Auto</th>
42    </tr>
43  </thead>
44  <tbody>
45    <tr tal:repeat="value context/values" class="gradeC">
46      <td tal:content="value/semester">SEMESTER</td>
47      <td> <a tal:attributes="href value/__name__">
48      <span tal:content="value/code">CODE</span>
49      </a></td>
50      <td tal:content="value/title">TITLE</td>
51      <td tal:content="value/department">DEPARTMENT</td>
52      <td tal:content="value/faculty">FACULTY</td>
53      <td tal:content="value/credits">CREDITS</td>
54      <td tal:content="value/core_or_elective">MANDATORY</td>
55      <td tal:content="value/score">SCORE</td>
56      <td tal:content="value/automatic">AUTO</td>
57    </tr>
58  </tbody>
59</table>
60
61
62<div tal:condition="python: not len(context.keys())">
63There no levels registered yet.
64</div>
Note: See TracBrowser for help on using the repository browser.