Changeset 15503 for main/waeup.aaue/trunk/src
- Timestamp:
- 19 Jul 2019, 06:06:17 (5 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue/applicants
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/applicants/browser.py
r15459 r15503 450 450 # Temporarily enable passport upload also for cert and trans 451 451 # applications. 452 if True: # not self.target[:4] in ('cert', 'tran'):452 if self.context.__parent__.with_picture: 453 453 if not store.getFileByContext(self.context, attr=u'passport.jpg'): 454 454 return _('No passport picture uploaded.') -
main/waeup.aaue/trunk/src/waeup/aaue/applicants/browser_templates/applicantdisplaypage.pt
r15265 r15503 15 15 </div> 16 16 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" /> 18 19 19 20 <table i18n:domain="waeup.kofa" class="form-table"> -
main/waeup.aaue/trunk/src/waeup/aaue/applicants/browser_templates/applicanteditpage.pt
r15265 r15503 94 94 </table> 95 95 96 <div tal:condition="python: not view.manage_applications and not view.target in ('trans', 'cert')"> 96 <div tal:condition="python: not view.manage_applications 97 and not view.target in ('trans', 'cert') 98 and context.__parent__.with_picture"> 97 99 <input id="confirm_passport" name="confirm_passport" 98 100 type="checkbox" value="True"/> … … 107 109 </span> 108 110 </div> 109 <div tal:condition="python: not view.manage_applications and view.target not in ('trans', 'cert')"> 111 <div tal:condition="python: not view.manage_applications 112 and view.target not in ('trans', 'cert') 113 and context.__parent__.with_picture"> 110 114 <input id="confirm_passport" name="confirm_passport" 111 115 type="checkbox" value="True"/>
Note: See TracChangeset for help on using the changeset viewer.