Index: main/waeup.kofa/trunk/src/waeup/kofa/browser/viewlets.py
===================================================================
--- main/waeup.kofa/trunk/src/waeup/kofa/browser/viewlets.py	(revision 16459)
+++ main/waeup.kofa/trunk/src/waeup/kofa/browser/viewlets.py	(revision 16465)
@@ -560,6 +560,23 @@
             "'All students, who requested clearance in this department, will be cleared. Are you sure?'")
 
-class RemoveFlashDepartmentStudentsActionButton(ManageActionButton):
-    """ 'Remove all flash notices' button for departments.
+#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 EditFlashDepartmentStudentsActionButton(ManageActionButton):
+    """ 'Edit all flash notices' button for departments.
     """
     grok.context(IDepartment)
@@ -567,13 +584,8 @@
     grok.name('removeflashdepartmentstudents')
     grok.require('waeup.manageStudent')
-    icon = 'actionicon_wipe.png'
-    text = _('Remove all flash notices')
-    target = 'removeflash'
+    icon = 'actionicon_flash.png'
+    text = _('Edit all flash notices')
+    target = 'edit_flash_notices'
     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):
