- Timestamp:
- 12 Jan 2012, 16:19:57 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/browser.py
r7321 r7459 32 32 ) 33 33 from waeup.sirp.accesscodes.catalog import search 34 from waeup.sirp.browser.layout import action 34 35 35 36 grok.context(ISIRPObject) … … 66 67 grok.require('waeup.manageACBatches') 67 68 68 title= 'Create Access Code Batch'69 label = 'Create Access Code Batch' 69 70 pnav = 0 70 71 … … 72 73 'prefix', 'entry_num', 'cost') 73 74 74 @ grok.action('Cancel')75 @action('Cancel') 75 76 def cancel(self, *args, **kw): 76 77 self.flash('Batch creation cancelled.') 77 78 self.redirect(self.url(self.context)) 78 79 79 @ grok.action('Create batch')80 @action('Create batch') 80 81 def createBatch(self, **data): 81 82 creator = self.request.principal.id
Note: See TracChangeset for help on using the changeset viewer.