[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"/> |
---|
[632] | 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')" /> |
---|
[659] | 18 | <br /> |
---|
[627] | 19 | <table tal:condition="info/bed_types" |
---|
| 20 | tal:define="bed_types info/bed_types"> |
---|
| 21 | <tr> |
---|
[659] | 22 | <th width="200px">Bed Type</th> |
---|
| 23 | <th width="80px">Total</th> |
---|
| 24 | <th width="80px">Booked</th> |
---|
[627] | 25 | </tr> |
---|
| 26 | <tr tal:repeat="bt bed_types"> |
---|
| 27 | <td tal:content="bt/name" /> |
---|
[654] | 28 | <td tal:content="bt/total" /> |
---|
| 29 | <td tal:content="bt/reserved" /> |
---|
[627] | 30 | </tr> |
---|
| 31 | <tr><td> </td></tr> |
---|
| 32 | </table> |
---|
[659] | 33 | <br /> |
---|
[654] | 34 | <table tal:condition="info/reserved" |
---|
| 35 | tal:define="reserved info/reserved"> |
---|
| 36 | <tr> |
---|
| 37 | <th width="200px">Student</th> |
---|
| 38 | <th>Bed</th> |
---|
| 39 | </tr> |
---|
| 40 | <tr tal:repeat="bt reserved"> |
---|
[695] | 41 | <td> |
---|
| 42 | <a href="" tal:attributes="href bt/student_url" |
---|
| 43 | tal:content="bt/student"></a> |
---|
| 44 | </td> |
---|
[654] | 45 | <td tal:content="bt/bed" /> |
---|
| 46 | </tr> |
---|
| 47 | </table> |
---|
[632] | 48 | |
---|
[622] | 49 | </metal:main> |
---|
| 50 | |
---|
| 51 | <metal:sub fill-slot="sub"/> |
---|
| 52 | </metal:body> |
---|
| 53 | </metal:html> |
---|