-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add rejection email and slack dropdown option due to US sanction (#1029)
- Loading branch information
Showing
6 changed files
with
50 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
src/main/resources/templates/mail/rejectionUsSanctionEmail.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!DOCTYPE html> | ||
<html xmlns:th="http://www.thymeleaf.org"> | ||
<head> | ||
<title th:text="#{email.reject.title(${license})}"></title> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | ||
<link rel="shortcut icon" th:href="@{|${baseUrl}/favicon.ico|}" /> | ||
</head> | ||
<body> | ||
<p th:text="'Dear ' + ${user.firstName} + ' ' + ${user.lastName} + ','"></p> | ||
|
||
<p th:text="'Thank you for your interest in the ' + ${license} + ' license for OncoKB.'"></p> | ||
|
||
<p>Due to U.S. regulatory requirements, we are restricted from granting the license to certain foreign jurisdictions, including yours. Accordingly, we are unable to grant your license request, but thank you for your interest in OncoKB.</p> | ||
|
||
<p>If you feel you have received this message in error, please contact us.</p> | ||
|
||
<p> | ||
<div th:text="#{email.closing}">Sincerely,</div> | ||
<div th:text="#{email.signature}">The OncoKB Team</div> | ||
</p> | ||
</body> | ||
</html> |
3 changes: 3 additions & 0 deletions
3
src/main/resources/templates/mail/rejectionUsSanctionEmail.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Due to U.S. regulatory requirements, we are restricted from granting the license to certain foreign jurisdictions, including yours. Accordingly, we are unable to grant your license request, but thank you for your interest in OncoKB. | ||
|
||
If you feel you have received this message in error, please contact us. |