Changeset 15319 for main/kofacustom.edopoly/trunk/src
- Timestamp:
- 4 Feb 2019, 10:05:45 (6 years ago)
- Location:
- main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/applicants/browser.py
r15218 r15319 25 25 from waeup.kofa.applicants.browser import ( 26 26 ApplicantRegistrationPage, ApplicantsContainerPage, 27 ExportPDFPageApplicationSlip) 27 ExportPDFPageApplicationSlip, 28 ExportJobContainerOverview, 29 ExportJobContainerJobStart, 30 ExportJobContainerDownload) 28 31 from waeup.kofa.browser.layout import action, UtilityView 29 32 from kofacustom.nigeria.applicants.browser import ( … … 31 34 NigeriaPDFApplicationSlip, 32 35 NigeriaApplicantManageFormPage, 33 NigeriaApplicantEditFormPage) 36 NigeriaApplicantEditFormPage, 37 ) 34 38 from kofacustom.nigeria.applicants.interfaces import ( 35 39 UG_OMIT_DISPLAY_FIELDS, … … 249 253 form_fields['reg_number'].for_display = True 250 254 return form_fields 255 256 class CustomExportJobContainerOverview(ExportJobContainerOverview): 257 258 grok.require('waeup.viewApplication') 259 260 class CustomExportJobContainerJobStart(ExportJobContainerJobStart): 261 262 grok.require('waeup.viewApplication') 263 264 class CustomExportJobContainerDownload(ExportJobContainerDownload): 265 266 grok.require('waeup.viewApplication') -
main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/applicants/viewlets.py
r15131 r15319 19 19 import grok 20 20 from waeup.kofa.browser.viewlets import ManageActionButton 21 from waeup.kofa.applicants.viewlets import PDFActionButton 21 from waeup.kofa.applicants.viewlets import ( 22 PDFActionButton, ExportApplicantsActionButton) 22 23 from waeup.kofa.applicants.workflow import ( 23 24 INITIALIZED, ADMITTED, PAID, STARTED, NOT_ADMITTED, CREATED) … … 38 39 return 39 40 return self.view.url(self.view.context, self.target) 41 42 class ExportApplicantsActionButton(ExportApplicantsActionButton): 43 44 grok.require('waeup.viewApplication')
Note: See TracChangeset for help on using the changeset viewer.