Skip to content

Commit

Permalink
add email info + changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
rsiminel committed Dec 10, 2024
1 parent d394f76 commit 33546c3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* increase size of input field in users page
* add a readonly input field under email for showing the email domain*
* Add "custom_users" key to config file, to be used with various scripts
* Add email sent to a project owner when their project is activated

## 1.4.31 (2024-09-27)

Expand Down
4 changes: 4 additions & 0 deletions config/test.json
Original file line number Diff line number Diff line change
Expand Up @@ -257,10 +257,14 @@
],
"activated_project": [
"Your requested project '#NAME#' has been approved and activated by an admin in My.",
"It is for members of the '#GROUP#' group, you can find it at the following path:",
"'#PATH#'",
"Congratulations!"
],
"activated_project_html": [
"<p>Your requested project '#NAME#' has been approved and activated by an admin in My.</p>",
"<p>It is for members of the '#GROUP#' group, you can find it at the following path:</p>",
"<p>'#PATH#'</p>",
"<p>Congratulations!</p>"
],
"add_to_project": [
Expand Down
6 changes: 5 additions & 1 deletion core/project.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,11 @@ async function create_project(new_project, uuid, action_owner = 'auto') {
'name': 'ask_project',
'destinations': msg_destinations,
'subject': 'Project ' + new_project.id + ' created'
}, { '#NAME#': new_project.id });
}, {
'#NAME#': new_project.id,
'#PATH#': new_project.path,
'#GROUP#':new_project.group
});
} catch(error) {
logger.error(error);
}
Expand Down

0 comments on commit 33546c3

Please sign in to comment.