- Timestamp:
- 16 Apr 2021, 15:12:37 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/viewlets.py
r16459 r16465 560 560 "'All students, who requested clearance in this department, will be cleared. Are you sure?'") 561 561 562 class RemoveFlashDepartmentStudentsActionButton(ManageActionButton): 563 """ 'Remove all flash notices' button for departments. 562 #class RemoveFlashDepartmentStudentsActionButton(ManageActionButton): 563 # """ 'Remove all flash notices' button for departments. 564 # """ 565 # grok.context(IDepartment) 566 # grok.view(DepartmentPage) 567 # grok.name('removeflashdepartmentstudents') 568 # grok.require('waeup.manageStudent') 569 # icon = 'actionicon_wipe.png' 570 # text = _('Remove all flash notices') 571 # target = 'removeflash' 572 # grok.order(5) 573 574 # @property 575 # def onclick(self): 576 # return "return window.confirm(%s);" % _( 577 # "'Flash notices of all students in this department will be removed. Are you sure?'") 578 579 class EditFlashDepartmentStudentsActionButton(ManageActionButton): 580 """ 'Edit all flash notices' button for departments. 564 581 """ 565 582 grok.context(IDepartment) … … 567 584 grok.name('removeflashdepartmentstudents') 568 585 grok.require('waeup.manageStudent') 569 icon = 'actionicon_ wipe.png'570 text = _(' Removeall flash notices')571 target = ' removeflash'586 icon = 'actionicon_flash.png' 587 text = _('Edit all flash notices') 588 target = 'edit_flash_notices' 572 589 grok.order(5) 573 574 @property575 def onclick(self):576 return "return window.confirm(%s);" % _(577 "'Flash notices of all students in this department will be removed. Are you sure?'")578 590 579 591 class ManageCourseActionButton(ManageActionButton):
Note: See TracChangeset for help on using the changeset viewer.