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

Last change on this file since 628 was 627, checked in by joachim, 18 years ago

counting error corrected, cleartext bed_type names

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      <table tal:condition="info/bed_types"
14             tal:define="bed_types info/bed_types">
15        <tr>
16          <th>Bed Type</th>
17          <th>Beds</th>
18        </tr>
19        <tr tal:repeat="bt bed_types">
20          <td tal:content="bt/name" />
21          <td tal:content="bt/count" />
22        </tr>
23        <tr><td>&nbsp;</td></tr>
24      </table>
25    </metal:block>
26    <metal:main fill-slot="main">
27      <span tal:omit-tag="" 
28            tal:content="structure python: info['doc'].render(layout_mode='view')" />
29     
30    </metal:main>
31   
32    <metal:sub fill-slot="sub"/>
33  </metal:body>
34</metal:html>
Note: See TracBrowser for help on using the repository browser.