Index: main/waeup.kofa/trunk/src/waeup/kofa/browser/viewlets.py
===================================================================
--- main/waeup.kofa/trunk/src/waeup/kofa/browser/viewlets.py	(revision 16293)
+++ main/waeup.kofa/trunk/src/waeup/kofa/browser/viewlets.py	(revision 16459)
@@ -560,4 +560,21 @@
             "'All students, who requested clearance in this department, will be cleared. Are you sure?'")
 
+class RemoveFlashDepartmentStudentsActionButton(ManageActionButton):
+    """ 'Remove all flash notices' button for departments.
+    """
+    grok.context(IDepartment)
+    grok.view(DepartmentPage)
+    grok.name('removeflashdepartmentstudents')
+    grok.require('waeup.manageStudent')
+    icon = 'actionicon_wipe.png'
+    text = _('Remove all flash notices')
+    target = 'removeflash'
+    grok.order(5)
+
+    @property
+    def onclick(self):
+        return "return window.confirm(%s);" % _(
+            "'Flash notices of all students in this department will be removed. Are you sure?'")
+
 class ManageCourseActionButton(ManageActionButton):
     """ 'Edit settings' button for courses.
