source: main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/accommodationmanagepage.pt @ 12646

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

Fix links.

File size: 1.3 KB
Line 
1<form action="." tal:attributes="action request/URL" method="POST"
2      i18n:domain="waeup.kofa" enctype="multipart/form-data">
3
4  <table class="kofa-data-table dataTableManage">
5    <thead>
6    <tr>
7      <th tal:condition="not: layout/isStudent">&nbsp;</th>
8      <th i18n:translate="">Session</th>
9      <th i18n:translate="">Booking Date</th>
10      <th i18n:translate="">Bed Coordinates</th>
11      <th i18n:translate="">Bed Category</th>
12    </tr>
13    </thead>
14    <tbody>
15      <tr tal:repeat="cl context/values">
16         <td tal:condition="not: layout/isStudent">
17          <input type="checkbox"
18                 name="val_id"
19                 tal:attributes="value cl/__name__" />
20        </td>
21        <td> <a tal:attributes="href python: view.url(cl)">
22        <span tal:content="python: cl.getSessionString()">PID</span></a></td>
23        <td tal:content="python: layout.formatDatetime(cl.booking_date)">DATE</td>
24        <td tal:content="cl/display_coordinates">COORDINATES</td>
25        <td tal:content="cl/bed_type">TYPE</td>
26      </tr>
27    </tbody>
28  </table>
29
30  <div tal:condition="view/availableActions">
31    <span tal:repeat="action view/selected_actions"
32          tal:omit-tag="">
33      <input tal:replace="structure action/render"/>
34    </span>
35  </div>
36</form>
Note: See TracBrowser for help on using the repository browser.