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

Last change on this file since 1389 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
RevLine 
[1296]1<metal:body use-macro="here/waeup_content_master/macros/master">
2    <metal:main fill-slot="main"
3                tal:define="info context/getAccommodationInfo">
[1302]4      <span tal:condition="python: not info or not info['acco']">
[658]5        <metal:block use-macro="here/error_not_found/macros/not_found" />
6      </span>
[1302]7      <span tal:condition="python: info and info['acco']">
[658]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>
[660]15        <h3>My Accommodation Record</h3>
[658]16        <br />
17        <span tal:omit-tag=""
18              tal:content="structure python: info['acco_doc'].render(proxy=info['acco_doc'],
19              layout_mode='view',
[680]20              layout_id='student_accommodation_fe')"
[658]21              />
[1296]22         <table>
23         <tr>
24          <td width="220px">Level:</td><td tal:content="info/level" />
25         </tr>
26         </table>
[658]27      </span>
28    </metal:main>
[1296]29</metal:body>
30
Note: See TracBrowser for help on using the repository browser.