From 9dde7a4d8aafcd32d61b358109d8a3b9a96cb3b9 Mon Sep 17 00:00:00 2001 From: Philip Bauer Date: Mon, 20 Jul 2015 13:54:08 +0200 Subject: [PATCH] remove additional class and text in statusmessages --- plone/dexterity/browser/add.py | 2 +- plone/dexterity/browser/edit.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plone/dexterity/browser/add.py b/plone/dexterity/browser/add.py index d92db515..c5d4fe6e 100644 --- a/plone/dexterity/browser/add.py +++ b/plone/dexterity/browser/add.py @@ -106,7 +106,7 @@ def handleAdd(self, action): # mark only as finished if we get the new object self._finishedAdd = True IStatusMessage(self.request).addStatusMessage( - self.success_message, "info success" + self.success_message, "info" ) @button.buttonAndHandler(_(u'Cancel'), name='cancel') diff --git a/plone/dexterity/browser/edit.py b/plone/dexterity/browser/edit.py index d0ba58ac..f891d259 100644 --- a/plone/dexterity/browser/edit.py +++ b/plone/dexterity/browser/edit.py @@ -28,7 +28,7 @@ def handleApply(self, action): return self.applyChanges(data) IStatusMessage(self.request).addStatusMessage( - self.success_message, "info success" + self.success_message, "info" ) self.request.response.redirect(self.nextURL()) notify(EditFinishedEvent(self.context))