source: WAeUP_SRP/trunk/skins/waeup_accommodation/acco_hall_view.pt @ 634

Last change on this file since 634 was 632, checked in by Henrik Bettermann, 18 years ago

table layout changed

File size: 1.1 KB
Line 
1<metal:html tal:define="info context/getHallInfo;
2            is_manager info/is_manager|nothing;"
3            >
4  <metal:body use-macro="here/waeup_content_master/macros/master">
5    <metal:block fill-slot="header">
6      <a href=""
7         tal:attributes="href string:${here/academicsParent}">
8        <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/>
9        Up one level
10      </a>
11      <h3 tal:content="here/title_or_id" />
12      <div tal:condition="nothing" tal:content="info/container_path"/>
13
14    </metal:block>
15    <metal:main fill-slot="main">
16      <span tal:omit-tag="" 
17            tal:content="structure python: info['doc'].render(layout_mode='view')" />
18     
19      <table tal:condition="info/bed_types"
20             tal:define="bed_types info/bed_types">
21        <tr>
22          <th width="190px">Bed Type</th>
23          <th>Total No of Beds</th>
24        </tr>
25        <tr tal:repeat="bt bed_types">
26          <td tal:content="bt/name" />
27          <td tal:content="bt/count" />
28        </tr>
29        <tr><td>&nbsp;</td></tr>
30      </table>
31
32    </metal:main>
33   
34    <metal:sub fill-slot="sub"/>
35  </metal:body>
36</metal:html>
Note: See TracBrowser for help on using the repository browser.