source: WAeUP_SRP/trunk/skins/waeup_student/accommodation_slip.pt @ 1251

Last change on this file since 1251 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
RevLine 
[1162]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"> 
[658]8  <metal:body use-macro="here/main_template/macros/master">
9    <metal:main fill-slot="main">
[694]10      <h3>Hostel Allocation Slip (and Maintenance Receipt)</h3>
[658]11      <br />
[1211]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>   
[1210]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>
[1249]39        </tr>     
[1210]40        <tr>
[1249]41          <td>Level:</td>
42          <td><span tal:content="info_acco/level" /></td>
43        </tr>             
44        <tr>
[1210]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>         
[1211]60                         
[1210]61      </table>
62     
[658]63      <span tal:omit-tag=""
[1162]64            tal:content="structure python: info_acco['acco_doc'].render(proxy=info_acco['acco_doc'],
[658]65            layout_mode='view_slip',
[680]66            layout_id='student_accommodation_fe')"
[658]67            />
68    </metal:main>
69  </metal:body>
[1096]70</metal:block> 
[658]71</metal:html>
Note: See TracBrowser for help on using the repository browser.