Ignore:
Timestamp:
26 Mar 2009, 18:23:28 (16 years ago)
Author:
Henrik Bettermann
Message:

add correct passport picture path

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_futminna/id_card_demo.pt

    r4029 r4030  
    11<metal:body use-macro="here/idcard_template/macros/master">
    22  <metal:main fill-slot="main"
    3               tal:define="global info context/getIdCardInfo;">
     3              tal:define="global info context/getIdCardInfo;
     4                          passport_url info/passport_url;
     5                          ">
    46
    57    <span tal:condition="not: info">
     
    1719        </div>
    1820        <div style="background-color:white; font-weight:bold; color:black; font-family:Courier New; font-size:120%">
    19         Federal University of Technology <br />
    20         Minna, Nigeria   
     21        Federal University of Technology Minna<br />
    2122        </div>
    2223      </td>
     
    7576        <table style="font-family:Courier New; font-size:100%">
    7677          <tr>
    77             <td align="center" tal:condition="python: 'passport' in info['student'].application.getContent().objectIds()">
    78             <img height="150px" tal:attributes="src string:${here/portal_url}/campus/students/${info/scatalog/id}/application/passport"/>
     78            <td align="center" tal:condition="passport_url">
     79            <img height="150px" src="img" tal:attributes="src passport_url" />
    7980            </td>
    8081          </tr>
Note: See TracChangeset for help on using the changeset viewer.