source: WAeUP_SRP/branches/srpp_on_branch/skins/waeup_student/accommodation_slip.pt @ 5505

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

level shown on accommodation slip

  • Property svn:keywords set to Id
File size: 2.5 KB
Line 
1<metal:html tal:define="info_acco context/getAccommodationInfo;
2                        info_app  context/getApplicationInfo">
3
4<span tal:condition="not: info_acco">
5  <span tal:content="here/illegal_view" />
6</span>
7<metal:block tal:condition="info_acco"> 
8  <metal:body use-macro="here/main_template/macros/master">
9    <metal:main fill-slot="main">
10      <h3>Hostel Allocation Slip (and Maintenance Receipt)</h3>
11      <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     
20        <tr>
21          <td width="180px">Student ID:</td>
22          <td><span tal:content="info_acco/id" /></td>
23        </tr>
24        <tr tal:condition="info_acco/matric_no">
25          <td>Matriculation Number:</td>
26          <td><span tal:content="info_acco/matric_no" /></td>
27        </tr>     
28        <tr>
29          <td>JAMB Registration Number:</td>
30          <td><span tal:content="info_acco/jamb_reg_no" /></td>
31        </tr>             
32        <tr>
33          <td>Student Name:</td>
34          <td><span tal:content="info_acco/name" /></td>
35        </tr>   
36        <tr>
37          <td>Sex:</td>
38          <td><span tal:content="info_acco/sex" /></td>
39        </tr>     
40        <tr>
41          <td>Level:</td>
42          <td><span tal:content="info_acco/level" /></td>
43        </tr>             
44        <tr>
45          <td>Bed Category:</td>
46          <td><span tal:content="info_acco/student_status" /></td>
47        </tr>           
48        <tr tal:condition="info_acco/email">
49          <td>Email:</td>
50          <td><span tal:content="info_acco/email" /></td>
51        </tr>     
52        <tr tal:condition="not:info_acco/email">
53          <td>Email:</td>
54          <td><span tal:content="info_app/app_doc/app_email" /></td>
55        </tr> 
56        <tr tal:condition="info_app/app_doc/app_mobile">
57          <td>Mobile Phone Number:</td>
58          <td><span tal:content="info_app/app_doc/app_mobile" /></td>
59        </tr>         
60                         
61      </table>
62     
63      <span tal:omit-tag=""
64            tal:content="structure python: info_acco['acco_doc'].render(proxy=info_acco['acco_doc'],
65            layout_mode='view_slip',
66            layout_id='student_accommodation_fe')"
67            />
68    </metal:main>
69  </metal:body>
70</metal:block> 
71</metal:html>
Note: See TracBrowser for help on using the repository browser.