Changeset 3779 for WAeUP_SRP/trunk


Ignore:
Timestamp:
20 Nov 2008, 06:52:50 (16 years ago)
Author:
Henrik Bettermann
Message:

show all pictures (.JPG files were not found)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/accommodation_slip.pt

    r3430 r3779  
    99          <h3>Hostel Allocation Slip (including Maintenance Receipt)</h3>
    1010
    11           <br /><br />
     11          <br />
    1212           
    13           <table width="" cellpadding="2" cellspacing="0" summary="Form layout">
    14             <tr tal:condition="python: here.waeup_tool.picturesExist(('passport',),info_acco['student_id'])">
    15               <td colspan="2"><img width="150" tal:attributes="src string:${here/portal_url}/viewimage/${info_acco/student_id}/passport_${info_acco/student_id}.jpg"/>
    16               </td>
    17             </tr>   
    18             <tr>
    19               <td width="180px">Student ID:</td>
    20               <td><span tal:content="info_acco/student_id" /></td>
    21             </tr>
    22             <tr tal:condition="info_acco/matric_no">
    23               <td>Matriculation Number:</td>
    24               <td><span tal:content="info_acco/matric_no" /></td>
    25             </tr>     
    26             <tr>
    27               <td>Registration Number:</td>
    28               <td><span tal:content="info_acco/jamb_reg_no" /></td>
    29             </tr>             
    30             <tr>
    31               <td>Student Name:</td>
    32               <td><span tal:content="info_acco/name" /></td>
    33             </tr>   
    34             <tr>
    35               <td>Sex:</td>
    36               <td><span tal:content="info_acco/sex" /></td>
    37             </tr>     
    38             <tr>
    39               <td>Level:</td>
    40               <td><span tal:content="python:context.portal_vocabularies.student_levels.get(info_acco['level'])" /></td>
    41             </tr>             
    42             <tr>
    43               <td>Bed Category:</td>
    44               <td><span tal:content="info_acco/student_status" /></td>
    45             </tr>           
    46             <tr tal:condition="info_acco/email">
    47               <td>Email:</td>
    48               <td><span tal:content="info_acco/email" /></td>
    49             </tr>     
    50             <tr tal:condition="not:info_acco/email">
    51               <td>Email:</td>
    52               <td><span tal:content="info_app/app_doc/app_email" /></td>
    53             </tr> 
    54             <tr tal:condition="info_app/app_doc/app_mobile|nothing">
    55               <td>Mobile Phone Number:</td>
    56               <td><span tal:content="info_app/app_doc/app_mobile" /></td>
    57             </tr>         
    58                              
    59           </table>
     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              />     
    6018         
    6119          <span tal:omit-tag=""
Note: See TracChangeset for help on using the changeset viewer.