-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
92 additions
and
6 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,10 +28,12 @@ | |
</head> | ||
<body> | ||
<img src="${HEADER_IMG}"> | ||
<div>Hello ${FIRST_NAME} ${LAST_NAME},</div> | ||
<div>This is a reminder that your account ${USERNAME} has used ${USED_CREDITS} in initial credits offered by the All of Us Program. | ||
The remaining balance on your initial credits is ${CREDIT_BALANCE}.</div> | ||
<div>Once you use all of your initial credits, you ${INITIAL_CREDITS_RESOLUTION}</div> | ||
<div>If you have any questions about this email, please contact [email protected].</div> | ||
<div>Thanks for using the Researcher Workbench.</div> | ||
<div>Hello ${FIRST_NAME},</div> | ||
<div>This is a reminder that you have used ${USED_CREDITS} of the initial credits offered to your <i>All of Us</i> Researcher Workbench account ${USERNAME} by the <i>All of Us</i> Research Program.</div> | ||
<div style="font-weight:bold">The remaining balance of your initial credits is ${CREDIT_BALANCE}.</div> | ||
<div><i>Once you use all of your initial credits, all active cloud environments will be deleted and any data from actively running analysis may be lost. Files saved to your workspace bucket and persistent disk will remain.</i></div> | ||
|
||
<div>For resources and tips for optimizing your credit usage and setting up your billing account, visit the “<a href="https://support.researchallofus.org/hc/en-us/categories/5942730401428">Credits and Billing</a>” section of the User Support Hub.</div> | ||
<div><div style="font-weight:bold;display: inline">Questions?</div> Contact our support team by using the Help Desk widget in the Workbench or by emailing <a href="mailto:[email protected]">[email protected]</a></div> | ||
<div><i>All of Us</i> Researcher Workbench support team</div> | ||
</body> |
39 changes: 39 additions & 0 deletions
39
api/src/main/resources/emails/initial_credits_expiring/content.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,39 @@ | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet"> | ||
<style> | ||
body { | ||
background-color: #F1F1F1; | ||
padding-left: 1rem; | ||
padding-top: 1rem; | ||
width: 600px; | ||
} | ||
* { | ||
font-family: 'Montserrat', sans-serif; | ||
font-weight: 300; | ||
} | ||
div { | ||
margin-top: 2rem; | ||
margin-bottom: 1rem; | ||
color: #302C71; | ||
font-size: 24px; | ||
font-weight: 300; | ||
line-height: 36px; | ||
} | ||
* { | ||
margin-bottom: 6px; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<img src="${HEADER_IMG}"> | ||
<div>Hello ${FIRST_NAME},</div> | ||
<div>This is a notification that the initial credits offered to your ${ALL_OF_US} Researcher Workbench account ${USERNAME} by the ${ALL_OF_US} Research Program are expiring soon.</div> | ||
<div style="font-weight:bold; margin-bottom: 0">Your initial credits will expire on ${INITIAL_CREDITS_EXPIRATION}.</div> | ||
<div style="font-weight:bold; margin-top: 0">You are eligible to request a 270-day extension under your profile in the Researcher Workbench.</div> | ||
|
||
<div>For more information about using initial credits and requesting an extension, read the “<a href="https://support.researchallofus.org/hc/en-us/articles/28920849686036-Using-All-of-Us-Initial-Credits">Using ${ALL_OF_US} Initial Credits</a>” article on the User Support Hub.</div> | ||
<div><div style="font-weight:bold;display: inline">Questions?</div> Contact our support team by using the Help Desk widget in the Workbench or by emailing <a href="mailto:[email protected]">[email protected]</a></div> | ||
<div>${ALL_OF_US} Researcher Workbench support team</div> | ||
</body> |