Changeset 12765 for main/waeup.ikoba/trunk
- Timestamp:
- 15 Mar 2015, 06:57:16 (10 years ago)
- Location:
- main/waeup.ikoba/trunk/src/waeup/ikoba
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/payments/browser.py
r12764 r12765 22 22 from waeup.ikoba.interfaces import IIkobaObject 23 23 from waeup.ikoba.interfaces import MessageFactory as _ 24 from waeup.ikoba.browser.viewlets import PrimaryNavTab 24 from waeup.ikoba.browser.viewlets import PrimaryNavTab, ManageActionButton 25 25 from waeup.ikoba.browser.layout import ( 26 26 IkobaPage, IkobaEditFormPage, IkobaDisplayFormPage, … … 129 129 130 130 131 class PaymentsManageActionButton(ManageActionButton): 132 grok.order(1) 133 grok.context(IPaymentsContainer) 134 grok.view(PaymentsContainerPage) 135 grok.require('waeup.managePayments') 136 text = _('Manage') 137 target = 'manage' 138 139 131 140 class PaymentsContainerManagePage(IkobaPage): 132 141 """The manage page for payment containers. -
main/waeup.ikoba/trunk/src/waeup/ikoba/permissions.py
r12764 r12765 162 162 'waeup.viewCustomersTab', 163 163 'waeup.editContracts', 164 ' managePayments'164 'waeup.viewPayments', 'waeup.managePayments', 165 165 ) 166 166 … … 190 190 'waeup.viewCustomersTab', 191 191 'waeup.editContracts', 192 ' managePayments'192 'waeup.viewPayments', 'waeup.managePayments', 193 193 ) 194 194
Note: See TracChangeset for help on using the changeset viewer.