source: main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/accommodationmanagepage.pt @ 7007

Last change on this file since 7007 was 7007, checked in by Henrik Bettermann, 13 years ago

Show more details in table.

File size: 1.5 KB
Line 
1<h2 i18n:translate=""
2tal:condition="view/label"
3tal:content="view/label">Label</h2>
4
5<div class="form-status"
6    tal:define="status view/status"
7    tal:condition="status">
8    Form Status:
9    <span i18n:translate="" tal:content="view/status">
10      Form status summary
11    </span>
12</div>
13
14<form action="." tal:attributes="action request/URL" method="POST"
15      class="edit-form" enctype="multipart/form-data">
16
17  <table class="display dataTableManage">
18    <thead>
19    <tr>
20      <th>&nbsp;</th>
21      <th>Session</th>
22      <th>Booking Date</th>
23      <th>Bed Coordinates</th>
24      <th>Bed Category</th>
25    </tr>
26    </thead>
27    <tbody>
28      <tr tal:repeat="cl context/values">
29         <td>
30          <input type="checkbox"
31                 name="val_id"
32                 tal:attributes="value cl/__name__"
33         tal:condition="not: view/unremovable" />
34        </td>
35        <td> <a tal:attributes="href cl/__name__">
36        <span tal:content="python: cl.getSessionString()">PID</span></a></td>
37        <td tal:content="python: view.formatDatetime(cl.booking_date)">DATE</td>
38        <td tal:content="cl/bed_coordinates">COORDINATES</td>
39        <td tal:content="cl/bed_type">TYPE</td>
40      </tr>
41    </tbody>
42  </table>
43
44  <div class="actionButtons" tal:condition="view/availableActions">
45    <span tal:repeat="action view/actions"
46          tal:omit-tag="">
47      <input tal:replace="structure action/render"/>
48    </span>
49  </div>
50</form>
Note: See TracBrowser for help on using the repository browser.