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

Last change on this file since 1853 was 1783, checked in by Henrik Bettermann, 18 years ago
  • assertViewable removed and page templates adjusted, so that no traceback occurs.
  • 'Previous Session' action added
  • waeup_content_master.pt removed
  • and more
  • Property svn:keywords set to Id
File size: 1.4 KB
RevLine 
[1783]1<metal:body use-macro="here/main_template/macros/master">
[1296]2    <metal:main fill-slot="main"
[1783]3            tal:define="info context/getAccommodationInfo">
[1302]4      <span tal:condition="python: not info or not info['acco']">
[1783]5        <span tal:content="here/illegal_view" />
[658]6      </span>
[1302]7      <span tal:condition="python: info and info['acco']">
[1783]8
[658]9        <div style="text-align: right">
10        <a href="" target="slip" tal:attributes="href string:accommodation_slip"
11            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')">
12            <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" />
13            Accommodation Slip
14        </a>
15        </div>
[1783]16        <a href=""
17           tal:attributes="href string:${here/academicsParent}">
18          <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/>
19          Up one level
20        </a>       
[660]21        <h3>My Accommodation Record</h3>
[658]22        <br />
23        <span tal:omit-tag=""
24              tal:content="structure python: info['acco_doc'].render(proxy=info['acco_doc'],
25              layout_mode='view',
[680]26              layout_id='student_accommodation_fe')"
[658]27              />
[1296]28         <table>
29         <tr>
30          <td width="220px">Level:</td><td tal:content="info/level" />
31         </tr>
32         </table>
[658]33      </span>
34    </metal:main>
[1296]35</metal:body>
36
Note: See TracBrowser for help on using the repository browser.