source: main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/studylevelpage.pt @ 9798

Last change on this file since 9798 was 9690, checked in by Henrik Bettermann, 12 years ago

Use new attrs_to_fields function to display gpa and total_credits on level pages.

File size: 1.8 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="">Sem.</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="">CO</th>
34      <th i18n:translate="">Auto</th>
35    </tr>
36  </thead>
37  <tbody>
38    <tr tal:repeat="value view/translated_values" class="gradeC">
39      <td tal:content="value/semester">SEMESTER</td>
40      <td> <a tal:attributes="href value/__name__">
41      <span tal:content="value/code">CODE</span>
42      </a></td>
43      <td tal:content="value/title">TITLE</td>
44      <td tal:content="value/dcode">DEPARTMENT</td>
45      <td tal:content="value/fcode">FACULTY</td>
46      <td tal:content="value/credits">CREDITS</td>
47      <td tal:content="value/mandatory">MANDATORY</td>
48      <td tal:content="value/score|nothing">SCORE</td>
49      <td tal:content="value/carry_over">CO</td>
50      <td tal:content="value/automatic">AUTO</td>
51    </tr>
52  </tbody>
53</table>
54
55
56<div i18n:domain="waeup.kofa"
57  tal:condition="python: not len(context.keys())" i18n:translate="">
58  The're no tickets added yet.
59</div>
Note: See TracBrowser for help on using the repository browser.