Changeset 4826 for waeup/branches/ulif-importers
- Timestamp:
- 15 Jan 2010, 23:42:17 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-importers/src/waeup/browser/viewlets.py
r4789 r4826 369 369 target = 'addcertificatecourse' 370 370 371 # 372 # Actions with a 'browse' icon... 373 # 374 class BrowseActionButton(ActionButton): 375 grok.baseclass() 376 grok.context(IWAeUPObject) 377 grok.template('actionbutton') 378 grok.viewletmanager(ActionBar) 379 grok.require('waeup.manageUniversity') 380 icon = 'actionicon_manage.png' # File must exist in static/ 381 target = '@@show' # link to this viewname. 382 text = 'Show batch logs' # Text to display on the button 383 384 class BrowseDatacenterLogs(BrowseActionButton): 385 grok.context(IDataCenter) 386 grok.view(DatacenterPage) 387 grok.order(4) 388 target = '@@logs' 389 text = 'Show batch logs' 371 390 372 391 #
Note: See TracChangeset for help on using the changeset viewer.