Last change
on this file since 2420 was
1438,
checked in by Henrik Bettermann, 18 years ago
|
bed statistics and folder view separated
|
File size:
879 bytes
|
Line | |
---|
1 | <metal:html tal:define="info context/getBedStatistics;" |
---|
2 | > |
---|
3 | <metal:body use-macro="here/main_template/macros/master"> |
---|
4 | <metal:main fill-slot="main"> |
---|
5 | |
---|
6 | <a href="acco_folder_view"><strong>Hostels</strong></a> |
---|
7 | |
---|
8 | <h3>Total Bed Statistics</h3> |
---|
9 | <br /> |
---|
10 | <table tal:condition="info/bed_types" |
---|
11 | tal:define="bed_types info/bed_types"> |
---|
12 | <tr> |
---|
13 | <th width="200px">Bed Category</th> |
---|
14 | <th width="80px">Total</th> |
---|
15 | <th width="80px">Booked</th> |
---|
16 | </tr> |
---|
17 | <tr tal:repeat="bt bed_types"> |
---|
18 | <td tal:content="bt/name" /> |
---|
19 | <td tal:content="bt/total" /> |
---|
20 | <td tal:content="bt/reserved" /> |
---|
21 | <td tal:condition="bt/full|nothing"> |
---|
22 | <strong>Fully booked</strong> |
---|
23 | </td> |
---|
24 | </tr> |
---|
25 | </table> |
---|
26 | </metal:main> |
---|
27 | </metal:body> |
---|
28 | </metal:html> |
---|
Note: See
TracBrowser for help on using the repository browser.