Changeset 3116


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.

Location:
WAeUP_SRP
Files:
2 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>   
  • WAeUP_SRP/uniben/waeup_custom/layout_student_acco_view_slip.pt

    r2912 r3116  
    1515  <table width="" cellpadding="2" cellspacing="0" summary="Form layout">
    1616    <tr tal:repeat="field fields">
     17    <tal:block condition="widgets/field|nothing">
    1718      <tal:block tal:define="cell python: widgets[field]">
    1819        <tal:block define="widget cell/widget">
     
    3132        </tal:block>
    3233      </tal:block>
     34      </tal:block>
    3335    </tr>
    3436  </table>
Note: See TracChangeset for help on using the changeset viewer.