source: WAeUP_SRP/base/skins/waeup_student/accommodation_slip.pt @ 2944

Last change on this file since 2944 was 2885, checked in by Henrik Bettermann, 17 years ago

little things changed

  • Property svn:keywords set to Id
File size: 2.9 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 /><br />
12           
13          <table width="" cellpadding="2" cellspacing="0" summary="Form layout">
14   
15            <tr tal:condition="python: 'passport' in info_acco['student'].application.getContent().objectIds()">
16              <td colspan="2"><img tal:attributes="src string:${here/portal_url}/campus/students/${info_acco/id}/application/passport"/>
17              </td>
18            </tr>   
19            <tr>
20              <td width="180px">Student ID:</td>
21              <td><span tal:content="info_acco/student_id" /></td>
22            </tr>
23            <tr tal:condition="info_acco/matric_no">
24              <td>Matriculation Number:</td>
25              <td><span tal:content="info_acco/matric_no" /></td>
26            </tr>     
27            <tr>
28              <td>Registration Number:</td>
29              <td><span tal:content="info_acco/jamb_reg_no" /></td>
30            </tr>             
31            <tr>
32              <td>Student Name:</td>
33              <td><span tal:content="info_acco/name" /></td>
34            </tr>   
35            <tr>
36              <td>Sex:</td>
37              <td><span tal:content="info_acco/sex" /></td>
38            </tr>     
39            <tr>
40              <td>Level:</td>
41              <td><span tal:content="info_acco/level" /></td>
42            </tr>             
43            <tr>
44              <td>Bed Category:</td>
45              <td><span tal:content="info_acco/student_status" /></td>
46            </tr>           
47            <tr tal:condition="info_acco/email">
48              <td>Email:</td>
49              <td><span tal:content="info_acco/email" /></td>
50            </tr>     
51            <tr tal:condition="not:info_acco/email">
52              <td>Email:</td>
53              <td><span tal:content="info_app/app_doc/app_email" /></td>
54            </tr> 
55            <tr tal:condition="info_app/app_doc/app_mobile">
56              <td>Mobile Phone Number:</td>
57              <td><span tal:content="info_app/app_doc/app_mobile" /></td>
58            </tr>         
59                             
60          </table>
61         
62          <span tal:omit-tag=""
63                tal:content="structure python: info_acco['acco_doc'].render(proxy=info_acco['acco_doc'],
64                layout_mode='view_slip',
65                layout_id='student_accommodation_fe')"
66                />
67      </span>     
68    </metal:main>
69</metal:body>
Note: See TracBrowser for help on using the repository browser.