source: main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/students/browser_templates/studyleveleditpage.pt

Last change on this file was 15294, checked in by Henrik Bettermann, 6 years ago

Shoow course category on student pages.

File size: 2.3 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="kofa-data-table dataTableManage">
11  <thead>
12    <tr>
13      <th>&nbsp;</th>
14      <th i18n:translate="">Term</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      <th i18n:translate="">OS</th>
23      <th i18n:translate="">CC</th>
24    </tr>
25  </thead>
26  <tbody>
27    <tr tal:repeat="value view/translated_values">
28       <td>
29        <input type="checkbox" name="val_id"
30                  tal:attributes="value value/__name__"
31        tal:condition="value/removable_by_student" />
32      </td>
33      <td tal:content="value/semester" nowrap>TERM</td>
34      <td> <a tal:attributes="href value/url">
35      <span tal:content="value/code">CODE</span>
36      </a></td>
37      <td tal:content="value/title">TITLE</td>
38      <td tal:content="value/dcode">DEPARTMENT</td>
39      <td tal:content="value/fcode">FACULTY</td>
40      <td tal:content="value/credits">CREDITS</td>
41      <td tal:content="value/score|nothing">SCORE</td>
42      <td tal:content="value/carry_over">CO</td>
43      <td tal:content="value/outstanding">OS</td>
44      <td tal:content="value/course_category">CC</td>
45    </tr>
46  </tbody>
47  </table>
48
49  <div tal:condition="view/availableActions">
50    <span tal:repeat="action view/actions"
51          tal:omit-tag="">
52      <input tal:replace="structure action/render"/>
53    </span>
54  </div>
55  <br /><br /><br />
56  <div class="form-inline">
57    <div class="form-group">
58        <input class="btn btn-primary" type="submit" name="ADD"
59               i18n:translate=""
60               value="Add course ticket" />
61    </div>
62    <div class="form-group">
63        <input type="text" name="course" class="form-control"
64               tal:attributes="placeholder view/placeholder" />
65    </div>
66  </div>
67  <br />
68  <p i18n:translate="">
69    You don't know the course code? Then select a course
70    <a href="ctadd">here</a>.
71  </p>
72</form> 
73
74
75
Note: See TracBrowser for help on using the repository browser.