Ignore:
Timestamp:
19 Jul 2019, 05:58:55 (6 years ago)
Author:
Henrik Bettermann
Message:

Add passport picture switch to applicants containers.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser_templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser_templates/applicantdisplaypage.pt

    r15130 r15502  
    1515</div>
    1616
    17 <img src="" height="180px" tal:attributes="src view/passport_url" />
     17<img tal:condition="python: context.__parent__.with_picture"
     18     src="" height="180px" tal:attributes="src view/passport_url" />
    1819
    1920<table i18n:domain="waeup.kofa" class="form-table">
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser_templates/applicanteditpage.pt

    r15130 r15502  
    2222    <tbody>
    2323      <tal:widgets content="structure provider:widgets" />
    24       <tr>
     24      <tr tal:condition="python: context.__parent__.with_picture">
    2525        <td class="fieldname" i18n:translate="">
    2626          Passport Photo:
     
    6969  </table>
    7070
    71   <div tal:condition="not: view/manage_applications">
     71  <div tal:condition="python: not view.manage_applications
     72                              and context.__parent__.with_picture">
    7273    <input id="confirm_passport" name="confirm_passport"
    7374           type="checkbox" value="True"/>&nbsp;&nbsp;
Note: See TracChangeset for help on using the changeset viewer.