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

Last change on this file since 899 was 805, checked in by joachim, 18 years ago

propset Id

  • Property svn:keywords set to Id
File size: 1.7 KB
RevLine 
[649]1<metal:html tal:define="info context/getAccoHallInfo;
[622]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"/>
[772]13      <br />
[632]14
15    </metal:block>
16    <metal:main fill-slot="main">
17      <span tal:omit-tag="" 
18            tal:content="structure python: info['doc'].render(layout_mode='view')" />
[659]19      <br />
[627]20      <table tal:condition="info/bed_types"
21             tal:define="bed_types info/bed_types">
22        <tr>
[659]23          <th width="200px">Bed Type</th>
24          <th width="80px">Total</th>
25          <th width="80px">Booked</th>
[627]26        </tr>
27        <tr tal:repeat="bt bed_types">
28          <td tal:content="bt/name" />
[654]29          <td tal:content="bt/total" />
30          <td tal:content="bt/reserved" />
[627]31        </tr>
32        <tr><td>&nbsp;</td></tr>
33      </table>
[659]34      <br />
[654]35      <table tal:condition="info/reserved"
36             tal:define="reserved info/reserved">
37        <tr>
38          <th width="200px">Student</th>
39          <th>Bed</th>
40        </tr>
41        <tr tal:repeat="bt reserved">
[695]42          <td>
43            <a href="" tal:attributes="href bt/student_url"
44               tal:content="bt/student"></a>
45          </td>
[654]46          <td tal:content="bt/bed" />
47        </tr>
48      </table>
[632]49
[622]50    </metal:main>
51   
52    <metal:sub fill-slot="sub"/>
53  </metal:body>
54</metal:html>
Note: See TracBrowser for help on using the repository browser.