source: main/waeup.kofa/branches/0.2/src/waeup/kofa/students/browser_templates/studylevelpage.pt @ 17305

Last change on this file since 17305 was 10440, checked in by Henrik Bettermann, 11 years ago

Beautify term column.

File size: 1.9 KB
Line 
1<table class="form-table" i18n:domain="waeup.kofa">
2  <thead>
3  </thead>
4  <tbody>
5    <tal:block repeat="widget view/widgets">
6      <tr>
7        <td class="fieldname">
8          <span tal:content="widget/label">label</span>:
9        </td>
10        <td tal:on-error="default">
11          <div tal:content="structure widget">
12            <input type="text" />
13          </div>
14        </td>
15      </tr>
16    </tal:block>
17  </tbody>
18</table>
19
20<h3 i18n:domain="waeup.kofa" i18n:translate="">Course Tickets</h3>
21
22<table class="display dataTable" i18n:domain="waeup.kofa">
23  <thead>
24    <tr>
25      <th i18n:translate="">Term</th>
26      <th i18n:translate="">Code</th>
27      <th i18n:translate="">Title</th>
28      <th i18n:translate="">Dep.</th>
29      <th i18n:translate="">Fac.</th>
30      <th i18n:translate="">Cred.</th>
31      <th i18n:translate="">Requ.</th>
32      <th i18n:translate="">Score</th>
33      <th i18n:translate="">Grade</th>
34      <th i18n:translate="">CO</th>
35      <th i18n:translate="">Auto</th>
36    </tr>
37  </thead>
38  <tbody>
39    <tr tal:repeat="value view/translated_values" class="gradeC">
40      <td tal:content="value/semester" nowrap>TERM</td>
41      <td> <a tal:attributes="href value/__name__">
42      <span tal:content="value/code">CODE</span>
43      </a></td>
44      <td tal:content="value/title">TITLE</td>
45      <td tal:content="value/dcode">DEPARTMENT</td>
46      <td tal:content="value/fcode">FACULTY</td>
47      <td tal:content="value/credits">CREDITS</td>
48      <td tal:content="value/mandatory">MANDATORY</td>
49      <td tal:content="value/score|nothing">SCORE</td>
50      <td tal:content="value/grade|nothing">GRADE</td>
51      <td tal:content="value/carry_over">CO</td>
52      <td tal:content="value/automatic">AUTO</td>
53    </tr>
54  </tbody>
55</table>
56
57
58<div i18n:domain="waeup.kofa"
59  tal:condition="python: not len(context.keys())" i18n:translate="">
60  The're no tickets added yet.
61</div>
Note: See TracBrowser for help on using the repository browser.