Changeset 16199 for main/waeup.uniben/trunk/src/waeup/uniben/applicants
- Timestamp:
- 15 Aug 2020, 09:15:24 (4 years ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/applicants/browser.py
r16184 r16199 556 556 def dataNotComplete(self, data): 557 557 store = getUtility(IExtFileStore) 558 if self.context.__parent__.with_picture: 558 if self.context.__parent__.with_picture \ 559 and self.context.__parent__.picture_editable: 559 560 store = getUtility(IExtFileStore) 560 561 if not store.getFileByContext(self.context, attr=u'passport.jpg'): -
main/waeup.uniben/trunk/src/waeup/uniben/applicants/utils.py
r16175 r16199 141 141 payment.amount_auth = container_fee 142 142 return 143 144 def isPictureEditable(self, container): 145 """False if applicants are not allowed to edit uploaded pictures. 146 """ 147 if container.code.startswith('ase'): 148 return False 149 return container.with_picture
Note: See TracChangeset for help on using the changeset viewer.