- Timestamp:
- 13 Sep 2022, 07:06:32 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.lpng/trunk/src/kofacustom/lpng/applicants/viewlets.py
r17010 r17091 18 18 import grok 19 19 from waeup.kofa.interfaces import IKofaObject 20 from waeup.kofa.browser.viewlets import ManageActionButton 20 21 from waeup.kofa.applicants.viewlets import ApplicantsAuthTab 22 from kofacustom.lpng.applicants.interfaces import ICustomApplicant 23 from kofacustom.lpng.applicants.browser import ApplicantDisplayFormPage 21 24 22 25 from kofacustom.lpng.interfaces import MessageFactory as _ … … 35 38 def link_target(self): 36 39 return 40 41 class SelectPunitActionButton(ManageActionButton): 42 grok.order(1) 43 grok.context(ICustomApplicant) 44 grok.require('waeup.handleApplication') 45 grok.view(ApplicantDisplayFormPage) 46 icon = 'actionicon_polling.png' 47 text = _('Locate Polling Unit') 48 target ='punitformpage'
Note: See TracChangeset for help on using the changeset viewer.