Changeset 15265 for main/waeup.aaue/trunk/src/waeup/aaue/applicants
- Timestamp:
- 12 Dec 2018, 09:00:05 (6 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
r15217 r15265 448 448 def dataNotComplete(self): 449 449 store = getUtility(IExtFileStore) 450 if not self.target[:4] in ('cert', 'tran'): 450 # Temporarily enable passport upload also for cert and trans 451 # applications. 452 if True: # not self.target[:4] in ('cert', 'tran'): 451 453 if not store.getFileByContext(self.context, attr=u'passport.jpg'): 452 454 return _('No passport picture uploaded.') 453 if not self.request.form.get('confirm_passport', False): 455 if not self.target[:4] in ('cert', 'tran') and \ 456 not self.request.form.get('confirm_passport', False): 454 457 return _('Passport picture confirmation box not ticked.') 455 458 if self.target in ('trans', 'cert') and \ -
main/waeup.aaue/trunk/src/waeup/aaue/applicants/browser_templates/applicantdisplaypage.pt
r15117 r15265 15 15 </div> 16 16 17 <img tal:condition="python: not view.target in ('trans', 'cert')" 18 src="" height="180px" tal:attributes="src view/passport_url" /> 17 <img src="" height="180px" tal:attributes="src view/passport_url" /> 19 18 20 19 <table i18n:domain="waeup.kofa" class="form-table"> -
main/waeup.aaue/trunk/src/waeup/aaue/applicants/browser_templates/applicanteditpage.pt
r15117 r15265 22 22 <tbody> 23 23 <tal:widgets content="structure provider:widgets" /> 24 <tr tal:condition="python: not view.target in ('trans', 'cert')">24 <tr> 25 25 <td class="fieldname" i18n:translate=""> 26 26 Passport Photo:
Note: See TracChangeset for help on using the changeset viewer.