source: WAeUP_SRP/trunk/skins/waeup_student/accommodation_view.pt @ 1311

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

last change was not working - fixed

  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1<metal:body use-macro="here/waeup_content_master/macros/master">
2    <metal:main fill-slot="main"
3                tal:define="info context/getAccommodationInfo">
4      <span tal:condition="python: not info or not info['acco']">
5        <metal:block use-macro="here/error_not_found/macros/not_found" />
6      </span>
7      <span tal:condition="python: info and info['acco']">
8        <div style="text-align: right">
9        <a href="" target="slip" tal:attributes="href string:accommodation_slip"
10            onclick="javascript:window.open('','slip','width=600, height=700, directories=no, toolbar=no, location=no, menubar=yes, scrollbars=yes, status=no, resizable=no, dependent=no')">
11            <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" />
12            Accommodation Slip
13        </a>
14        </div>
15        <h3>My Accommodation Record</h3>
16        <br />
17        <span tal:omit-tag=""
18              tal:content="structure python: info['acco_doc'].render(proxy=info['acco_doc'],
19              layout_mode='view',
20              layout_id='student_accommodation_fe')"
21              />
22         <table>
23         <tr>
24          <td width="220px">Level:</td><td tal:content="info/level" />
25         </tr>
26         </table>
27      </span>
28    </metal:main>
29</metal:body>
30
Note: See TracBrowser for help on using the repository browser.