- Timestamp:
- 1 Dec 2022, 08:51:54 (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.lpng/trunk/src/kofacustom/lpng/applicants/viewlets.py
r17091 r17190 21 21 from waeup.kofa.applicants.viewlets import ApplicantsAuthTab 22 22 from kofacustom.lpng.applicants.interfaces import ICustomApplicant 23 from kofacustom.lpng.applicants.browser import ApplicantDisplayFormPage 23 from kofacustom.lpng.applicants.browser import (ApplicantDisplayFormPage, 24 ApplicantEditFormPage) 24 25 25 26 from kofacustom.lpng.interfaces import MessageFactory as _ … … 40 41 41 42 class SelectPunitActionButton(ManageActionButton): 42 grok.order( 1)43 grok.order(2) 43 44 grok.context(ICustomApplicant) 44 45 grok.require('waeup.handleApplication') … … 47 48 text = _('Locate Polling Unit') 48 49 target ='punitformpage' 50 51 class MakeUSSDDonationActionButton(ManageActionButton): 52 grok.order(1) 53 grok.context(ICustomApplicant) 54 grok.require('waeup.handleApplication') 55 grok.view(ApplicantDisplayFormPage) 56 icon = 'actionicon_donate.png' 57 text = _('Make Donation via USSD') 58 target ='ussdinfo' 59 60 class MakeUSSDDonationActionButton2(MakeUSSDDonationActionButton): 61 grok.view(ApplicantEditFormPage)
Note: See TracChangeset for help on using the changeset viewer.