Changeset 11728 for main/waeup.uniben/trunk/src/waeup/uniben/applicants
- Timestamp:
- 3 Jul 2014, 08:17:34 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/applicants/browser.py
r10622 r11728 19 19 """ 20 20 import grok 21 from zope.component import getUtility 22 from waeup.kofa.interfaces import IExtFileStore 21 23 from waeup.kofa.applicants.browser import ( 22 ApplicantRegistrationPage, ApplicantsContainerPage) 24 ApplicantRegistrationPage, ApplicantsContainerPage, 25 ApplicationFeePaymentAddPage) 23 26 from kofacustom.nigeria.applicants.browser import ( 24 27 NigeriaApplicantDisplayFormPage, … … 113 116 return 114 117 118 class CustomApplicationFeePaymentAddPage(ApplicationFeePaymentAddPage): 119 """ Page to add an online payment ticket 120 """ 115 121 122 @property 123 def custom_requirements(self): 124 store = getUtility(IExtFileStore) 125 if not store.getFileByContext(self.context, attr=u'passport.jpg'): 126 return _('Upload your passport photo before making payment.') 127 return '' 128
Note: See TracChangeset for help on using the changeset viewer.