Changeset 17201 for main/kofacustom.lpng
- Timestamp:
- 1 Dec 2022, 15:57:05 (2 years ago)
- Location:
- main/kofacustom.lpng/trunk/src/kofacustom/lpng
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.lpng/trunk/src/kofacustom/lpng/applicants/browser.py
r17195 r17201 34 34 BalancePaymentAddFormPage, 35 35 ExportPDFPaymentSlipPage, 36 ApplicantBaseDisplayFormPage) 36 ApplicantBaseDisplayFormPage, 37 ExportJobContainerJobStart) 37 38 from waeup.kofa.applicants.workflow import ( 38 39 INITIALIZED, STARTED, PAID, SUBMITTED, … … 52 53 from kofacustom.lpng.interfaces import MessageFactory as _ 53 54 55 56 class CustomExportJobContainerJobStart(ExportJobContainerJobStart): 57 """View that starts three export jobs, one for applicants, a second 58 one for applicant payments and a third for referee reports. 59 """ 60 61 EXPORTER_LIST = ('applicants', 62 'applicantpayments', 63 ) 54 64 55 65 class CustomApplicantDisplayFormPage(ApplicantDisplayFormPage): -
main/kofacustom.lpng/trunk/src/kofacustom/lpng/applicants/interfaces.py
r17192 r17201 253 253 email = schema.ASCIILine( 254 254 title = _(u'Email Address'), 255 required = True,255 required = False, 256 256 constraint=validate_email, 257 257 ) … … 313 313 ) 314 314 315 email = schema.ASCIILine( 316 title = _(u'Email Address'), 317 required = True, 318 constraint=validate_email, 319 ) 320 315 321 ICustomApplicantEdit['reg_number'].order = ICustomApplicant['reg_number'].order 322 ICustomApplicantEdit['email'].order = ICustomApplicant['email'].order 316 323 317 324 class ICustomApplicantOnlinePayment(INigeriaApplicantOnlinePayment): -
main/kofacustom.lpng/trunk/src/kofacustom/lpng/browser/pages.py
r16993 r17201 17 17 ## 18 18 import grok 19 from waeup.kofa.interfaces import IKofaUtils, IKofaObject 19 from zope.component import ( 20 getUtility, queryUtility, createObject, getAllUtilitiesRegisteredFor, 21 getUtilitiesFor, 22 ) 23 from waeup.kofa.interfaces import IKofaUtils, IKofaObject, ICSVExporter 20 24 from waeup.kofa.browser.pages import ( 21 25 SessionConfigurationAddFormPage, SessionConfigurationManageFormPage, 22 LoginPage, CertificatePage, CertificateManageFormPage) 26 LoginPage, CertificatePage, CertificateManageFormPage, 27 ExportCSVPage) 23 28 from waeup.kofa.university.interfaces import ICertificate 24 29 from kofacustom.lpng.interfaces import ( 25 30 ICustomSessionConfiguration, ICustomSessionConfigurationAdd) 31 32 grok.templatedir('templates') 26 33 27 34 class CustomSessionConfigurationAddFormPage(SessionConfigurationAddFormPage): … … 35 42 form_fields = grok.AutoFields(ICustomSessionConfiguration) 36 43 44 class CustomExportCSVPage(ExportCSVPage): 45 46 grok.template('datacenterexportpage') 47 48 def getExporters(self): 49 title_name_tuples = [ 50 (u'Registrants', u'applicants'), 51 (u'Registrant Payments', u'applicantpayments'), 52 (u'Registrants Containers', u'applicantscontainers'), 53 (u'Users', u'users'), 54 ] 55 return sorted(title_name_tuples) -
main/kofacustom.lpng/trunk/src/kofacustom/lpng/locales/en/LC_MESSAGES/waeup.kofa.po
r17196 r17201 77 77 78 78 msgid "Applicant admitted" 79 msgstr "Applicant registered" 79 msgstr "Registrant registered" 80 81 msgid "Applicant Payments" 82 msgstr "Registrant Payments" 80 83 81 84 msgid "Student record created"
Note: See TracChangeset for help on using the changeset viewer.