Commit f3cc7178 authored by Jérome Perrin's avatar Jérome Perrin

display different ZMI messages when using "Recreate Tables" or "Clear Activity"


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19892 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5ff57278
...@@ -1026,8 +1026,12 @@ class ActivityTool (Folder, UniqueObject): ...@@ -1026,8 +1026,12 @@ class ActivityTool (Folder, UniqueObject):
(m.object_path, m.method_id), error=sys.exc_info()) (m.object_path, m.method_id), error=sys.exc_info())
if REQUEST is not None: if REQUEST is not None:
return REQUEST.RESPONSE.redirect('%s/%s' % (self.absolute_url(), message = 'Activities%20Cleared'
'manageActivitiesAdvanced?manage_tabs_message=Activities%20Cleared')) if keep:
message = 'Tables%20Recreated'
return REQUEST.RESPONSE.redirect(
'%s/manageActivitiesAdvanced?manage_tabs_message=%s' % (
self.absolute_url(), message))
security.declarePublic('getMessageList') security.declarePublic('getMessageList')
def getMessageList(self,**kw): def getMessageList(self,**kw):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment