source: WAeUP_SRP/trunk/skins/waeup_accommodation/accommodation_slip.pt @ 5351

Last change on this file since 5351 was 5167, checked in by Henrik Bettermann, 15 years ago

move accommodation templates

File size: 1.1 KB
Line 
1<metal:body use-macro="here/slip_template/macros/master">
2    <metal:main fill-slot="main"
3                tal:define="info_acco context/getAccommodationInfo;
4                            info_app  context/getApplicationInfo">
5      <span tal:condition="python: not info_acco or not info_acco['acco']">
6            <span tal:content="here/illegal_view" />
7      </span>   
8      <span tal:condition="python: info_acco and info_acco['acco']">                   
9          <h3>Hostel Allocation Slip (including Maintenance Receipt)</h3>
10
11          <br />
12           
13        <span tal:omit-tag=""
14              tal:content="structure python: info_app['app_doc'].render(proxy=info_app['app_doc'],
15              layout_mode='view_info',
16              layout_id='student_application')"
17              />     
18         
19          <span tal:omit-tag=""
20                tal:content="structure python: info_acco['acco_doc'].render(proxy=info_acco['acco_doc'],
21                layout_mode='view_slip',
22                layout_id='student_accommodation_fe')"
23                />
24      </span>     
25    </metal:main>
26</metal:body>
Note: See TracBrowser for help on using the repository browser.