From 5917c0830793625a68ab73adca582bb6667f01de Mon Sep 17 00:00:00 2001 From: "francesco.mangiacrapa" Date: Wed, 17 Apr 2024 16:33:12 +0200 Subject: [PATCH] updated README --- notifications-plugins/README.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/notifications-plugins/README.md b/notifications-plugins/README.md index e442ead..44a5405 100644 --- a/notifications-plugins/README.md +++ b/notifications-plugins/README.md @@ -88,7 +88,7 @@ and * `LAST_INVOKED_STEP` (optional) can be: `SUBMIT-FOR-REVIEW​`, `APPROVE-SUBMITTED`, `REJECT-DRAFT​`, `UNPUBLISH`; * `NOTIFICATION_TYPE` (mandatory) can be: `USER_NOTIFICATION`, `VRE_POST`, `EMAIL`; -***Notifications_Messages.properties*** managed/known placeholders: +**PLACEHOLDER_MESSAGE_{N}.properties** managed/known placeholders: * `${project_name}` * `${project_id}` @@ -100,10 +100,31 @@ and * `${user_caller}` +e.g. Messages using the placeholders: + +```txt +# REVIEW ACTION +TITLE_REVIEW_REQUIRED=Review required for ${project_name} +MSG_REVIEW_REQUIRED=@${user_caller} submitted the project ${project_name}. You are kindly requested to review it and decide either to APPROVE or REJECT it. See the Project at ${private_data_entry_link} +# REJECTED ACTION +TITLE_ITEM_REJECTED=Rejected ${project_name} +MSG_ITEM_REJECTED=The project ${project_name} (id: ${project_id}) has just been rejected by @${user_caller}. See the Project at ${private_data_entry_link} +# REJECTED ACTION +TITLE_ITEM_REJECTED_REVIEW_REQUIRED=Rejected ${project_name} +MSG_ITEM_REJECTED_REVIEW_REQUIRED=The project ${project_name} has just been rejected. You are kindly requested to review it. See the Project at ${private_data_entry_link} +``` + +[See here a full file with messages](https://code-repo.d4science.org/gCubeSystem/gcube-cms-suite/raw/branch/event_manager/D4S_UCDs/DEV/devVRE/notifications/Notifications_Messages.properties) + + ## Change log See [CHANGELOG.md](CHANGELOG.md). +## Authors + +* **Francesco Mangiacrapa** ([ORCID](https://orcid.org/0000-0002-6528-664X)) Computer Scientist at [ISTI-CNR Infrascience Group](http://nemis.isti.cnr.it/groups/infrascience) + ## License This project is licensed under the EUPL V.1.1 License - see the [LICENSE.md](LICENSE.md) file for details.