[1269] | 1 | <metal:html tal:define="info context/getAccoHallInfo"> |
---|
[622] | 2 | <metal:body use-macro="here/waeup_content_master/macros/master"> |
---|
| 3 | <metal:block fill-slot="header"> |
---|
| 4 | <a href="" |
---|
| 5 | tal:attributes="href string:${here/academicsParent}"> |
---|
| 6 | <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/> |
---|
| 7 | Up one level |
---|
| 8 | </a> |
---|
| 9 | <h3 tal:content="here/title_or_id" /> |
---|
| 10 | <div tal:condition="nothing" tal:content="info/container_path"/> |
---|
[772] | 11 | <br /> |
---|
[632] | 12 | |
---|
| 13 | </metal:block> |
---|
| 14 | <metal:main fill-slot="main"> |
---|
| 15 | <span tal:omit-tag="" |
---|
| 16 | tal:content="structure python: info['doc'].render(layout_mode='view')" /> |
---|
[659] | 17 | <br /> |
---|
[627] | 18 | <table tal:condition="info/bed_types" |
---|
| 19 | tal:define="bed_types info/bed_types"> |
---|
| 20 | <tr> |
---|
[659] | 21 | <th width="200px">Bed Type</th> |
---|
| 22 | <th width="80px">Total</th> |
---|
| 23 | <th width="80px">Booked</th> |
---|
[627] | 24 | </tr> |
---|
| 25 | <tr tal:repeat="bt bed_types"> |
---|
| 26 | <td tal:content="bt/name" /> |
---|
[654] | 27 | <td tal:content="bt/total" /> |
---|
| 28 | <td tal:content="bt/reserved" /> |
---|
[627] | 29 | </tr> |
---|
| 30 | <tr><td> </td></tr> |
---|
| 31 | </table> |
---|
[659] | 32 | <br /> |
---|
[1269] | 33 | <div> |
---|
| 34 | <a href="download" |
---|
| 35 | tal:attributes="href string:hall_allocation_list"> |
---|
[1275] | 36 | <strong>Download bedlist as csv file</strong></a> |
---|
[1269] | 37 | </div> |
---|
| 38 | <br /> |
---|
| 39 | <table tal:condition="python:info['reserved']" |
---|
[654] | 40 | tal:define="reserved info/reserved"> |
---|
| 41 | <tr> |
---|
[1275] | 42 | <th width="100px">Student Id</th> |
---|
[1270] | 43 | <th width="300px">Name</th> |
---|
| 44 | <th width="200px">Bed</th> |
---|
[654] | 45 | </tr> |
---|
| 46 | <tr tal:repeat="bt reserved"> |
---|
[695] | 47 | <td> |
---|
| 48 | <a href="" tal:attributes="href bt/student_url" |
---|
| 49 | tal:content="bt/student"></a> |
---|
| 50 | </td> |
---|
[1269] | 51 | <td tal:content="bt/name" /> |
---|
[654] | 52 | <td tal:content="bt/bed" /> |
---|
| 53 | </tr> |
---|
| 54 | </table> |
---|
[632] | 55 | |
---|
[622] | 56 | </metal:main> |
---|
| 57 | |
---|
| 58 | <metal:sub fill-slot="sub"/> |
---|
| 59 | </metal:body> |
---|
| 60 | </metal:html> |
---|