Changeset 5129
- Timestamp:
- 5 Apr 2010, 16:44:43 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/browser.py
r5126 r5129 6 6 from waeup.sirp.browser.breadcrumbs import Breadcrumb 7 7 from waeup.sirp.browser.pages import UniversityPage 8 from waeup.sirp.browser.viewlets import AdminTask, AddActionButton, LeftSidebar 8 from waeup.sirp.browser.viewlets import ( 9 AdminTask, AddActionButton, LeftSidebar, BatchOpButton) 9 10 from waeup.sirp.interfaces import IWAeUPObject, IUniversity 10 11 … … 96 97 text = 'Add Scratch Card Batch' 97 98 99 class ReimportBatchButton(BatchOpButton): 100 """Action button on batch container page which links to batch reimport. 101 """ 102 grok.context(IAccessCodeBatchContainer) 103 grok.view(BatchContainerPage) 104 grok.require('waeup.manageACBatches') 105 target = 'reimport' 106 text = 'Reimport Scratch Card Batch' 107 98 108 class ManageAccessCodes(grok.Viewlet): 99 109 """Link on front page to access code management.
Note: See TracChangeset for help on using the changeset viewer.