Hi St�phane,
This has already been done. Look lower in the same source file. We use a JSP to customize the message sent to users. The code you were referring to is no longer used and should be removed soon.
Regards, Serge Huber.
St�phane Miousse wrote:
Hello, I just want to know when these 2 todo will be done:
/** @todo Make this message as resource bundle */
message.append (
">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>\n");
message.append (" WORKFLOW : page waiting for approval.\n");
message.append (
">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>\n\n");
message.append ("The user '");
message.append (jParams.getUser ().getUsername ());
message.append ("' has complete the modifications on the page ");
message.append (jParams.getSiteURL (pageID, false));
message.append ("\n\n Communication message : \"");
message.append (workflowForm.getComment (pageIDStr));
message.append ("\"\n\n");
message.append (
"This page is now ready for publishing. Please accept or refuse to publish it.\n\n");
message.append (
"<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\n\n");
/** @todo Make this message as resource bundle */
message.append (
">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>\n");
message.append (" WORKFLOW : page modifications refused.\n");
message.append (
">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>\n\n");
message.append ("The user '");
message.append (jParams.getUser ().getUsername ());
message.append ("' has refused the modifications on the page ");
message.append (jParams.getSiteURL (pageID, false));
message.append ("\n\n Communication message : \"");
message.append (workflowForm.getComment (pageIDStr));
message.append ("\"\n\n");
message.append (
"This page is returned to the edition mode. Please make the appropriate modifications.\n\n");
message.append (
"<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\n\n");
