source: main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/accommodationmanagepage.pt @ 9003

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

Backup of local changes in branch (work in progress).

File size: 1.5 KB
Line 
1<h2 i18n:translate=""
2tal:condition="view/label"
3tal:content="view/label">Label</h2>
4
5<div class="alert-message error"
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      enctype="multipart/form-data">
16
17  <table class="display dataTableManage">
18    <thead>
19    <tr>
20      <th tal:condition="not: layout/isStudent">&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 tal:condition="not: layout/isStudent">
30          <input type="checkbox"
31                 name="val_id"
32                 tal:attributes="value cl/__name__" />
33        </td>
34        <td> <a tal:attributes="href cl/__name__">
35        <span tal:content="python: cl.getSessionString()">PID</span></a></td>
36        <td tal:content="python: layout.formatDatetime(cl.booking_date)">DATE</td>
37        <td tal:content="cl/bed_coordinates">COORDINATES</td>
38        <td tal:content="cl/bed_type">TYPE</td>
39      </tr>
40    </tbody>
41  </table>
42
43  <div tal:condition="view/availableActions">
44    <span tal:repeat="action view/selected_actions"
45          tal:omit-tag="">
46      <input tal:replace="structure action/render"/>
47    </span>
48  </div>
49</form>
Note: See TracBrowser for help on using the repository browser.