source: main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/studyleveleditpage.pt @ 9859

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

We need to customize if students are allowed to remove mandatory course tickets. Therefore I added a property attribute removable_by_student.

Allow manager to edit the mandatory attribute.

File size: 1.7 KB
Line 
1<form action="." tal:attributes="action request/URL" method="POST"
2      i18n:domain="waeup.kofa" enctype="multipart/form-data">
3
4  <h3 i18n:translate="">
5    Course Tickets
6    (Total Credits:
7    <span i18n:name="total_credits"
8      tal:replace="view/context/total_credits">TOTAL</span>)
9  </h3>
10  <table class="display dataTableManage">
11  <thead>
12    <tr>
13      <th>&nbsp;</th>
14      <th i18n:translate="">Sem.</th>
15      <th i18n:translate="">Code</th>
16      <th i18n:translate="">Title</th>
17      <th i18n:translate="">Department</th>
18      <th i18n:translate="">Faculty</th>
19      <th i18n:translate="">Credits</th>
20      <th i18n:translate="">Score</th>
21      <th i18n:translate="">CO</th>
22    </tr>
23  </thead>
24  <tbody>
25    <tr tal:repeat="value view/translated_values" class="gradeC">
26       <td>
27        <input type="checkbox" name="val_id"
28                  tal:attributes="value value/__name__"
29        tal:condition="value/removable_by_student" />
30      </td>
31      <td tal:content="value/semester">SEMESTER</td>
32      <td> <a tal:attributes="href value/__name__">
33      <span tal:content="value/code">CODE</span>
34      </a></td>
35      <td tal:content="value/title">TITLE</td>
36      <td tal:content="value/dcode">DEPARTMENT</td>
37      <td tal:content="value/fcode">FACULTY</td>
38      <td tal:content="value/credits">CREDITS</td>
39      <td tal:content="value/score|nothing">SCORE</td>
40      <td tal:content="value/carry_over">CO</td>
41    </tr>
42  </tbody>
43  </table>
44
45  <div tal:condition="view/availableActions">
46    <span tal:repeat="action view/actions"
47          tal:omit-tag="">
48      <input tal:replace="structure action/render"/>
49    </span>
50  </div>
51
52</form> 
53
54
55
Note: See TracBrowser for help on using the repository browser.