- Timestamp:
- 19 Jul 2019, 13:49:20 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/applicants/browser.py
r15487 r15506 295 295 @property 296 296 def custom_requirements(self): 297 store = getUtility(IExtFileStore) 298 if not store.getFileByContext(self.context, attr=u'passport.jpg'): 299 return _('Upload your 1"x1" Red background passport photo before making payment.') 297 if self.context.__parent__.with_picture: 298 store = getUtility(IExtFileStore) 299 if not store.getFileByContext(self.context, attr=u'passport.jpg'): 300 return _('Upload your 1"x1" Red background passport photo before making payment.') 300 301 return '' 301 302
Note: See TracChangeset for help on using the changeset viewer.