Ignore:
Timestamp:
6 Feb 2008, 15:10:41 (17 years ago)
Author:
joachim
Message:

show picture on accommodation-slip, avoid traceback for acco_maint_fee (real
cause not identified yet) both in custom.

File:
1 edited

Legend:

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

    r3112 r3116  
    1212           
    1313          <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"/>
     14            <tr tal:condition="python: here.waeup_tool.picturesExist(('passport',),info_acco['student_id'])">
     15              <td colspan="2"><img tal:attributes="src string:${here/portal_url}/viewimage/${info_acco/student_id}/passport_${info_acco/student_id}.jpg"/>
    1716              </td>
    1817            </tr>   
Note: See TracChangeset for help on using the changeset viewer.