Ignore:
Timestamp:
2 Dec 2016, 10:34:05 (9 years ago)
Author:
Henrik Bettermann
Message:

Add 'certificate request' components.

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

Legend:

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

    r14303 r14304  
    1515</div>
    1616
    17 <img src="" height="180px" tal:attributes="src view/passport_url" />
     17<img  tal:condition="python: not view.target in ('trans', 'cert')"
     18      src="" height="180px" tal:attributes="src view/passport_url" />
    1819
    1920<table i18n:domain="waeup.kofa" class="form-table">
  • main/waeup.aaue/trunk/src/waeup/aaue/applicants/browser_templates/applicanteditpage.pt

    r14029 r14304  
    2222    <tbody>
    2323      <tal:widgets content="structure provider:widgets" />
    24       <tr>
     24      <tr tal:condition="python: not view.target in ('trans', 'cert')">
    2525        <td class="fieldname" i18n:translate="">
    2626          Passport Photo:
     
    6969  </table>
    7070
    71   <div tal:condition="python: not view.manage_applications and not view.target == 'trans'">
     71  <div tal:condition="python: not view.manage_applications and not view.target in ('trans', 'cert')">
    7272    <input id="confirm_passport" name="confirm_passport"
    7373           type="checkbox" value="True"/>&nbsp;&nbsp;
     
    8282    </span>
    8383  </div>
    84   <div tal:condition="python: not view.manage_applications and view.target == 'trans'">
     84  <div tal:condition="python: not view.manage_applications and view.target in ('trans', 'cert')">
    8585    <input id="confirm_passport" name="confirm_passport"
    8686           type="checkbox" value="True"/>&nbsp;&nbsp;
Note: See TracChangeset for help on using the changeset viewer.