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

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

redirect to illegal_view.py

  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1<metal:html tal:define="info context/getStudentInfo">
2  <span tal:condition="not: info">
3    <span tal:content="here/illegal_view" />
4  </span>
5<metal:block tal:condition="info"> 
6  <metal:body use-macro="here/waeup_content_master/macros/master">
7    <metal:main fill-slot="main">
8      <span tal:condition="not: info">
9        <metal:block use-macro="here/error_not_found/macros/not_found" />
10      </span>
11      <span tal:condition="info"
12            tal:define="review_state info/review_state">
13           
14        <div style="text-align: right">
15        <a href="" target="slip" tal:attributes="href string:accommodation_slip"
16            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')">
17            <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" />
18            Accommodation Slip
19        </a>
20       
21        </div>
22
23
24        <h3>My Accommodation Record</h3>
25        <br />
26        <span tal:omit-tag=""
27              tal:content="structure python: info['acco_doc'].render(proxy=info['acco_doc'],
28              layout_mode='view',
29              layout_id='student_accommodation_fe')"
30              />
31      </span>
32    </metal:main>
33  </metal:body>
34</metal:block>   
35</metal:html>
Note: See TracBrowser for help on using the repository browser.