-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add a care team with alerting placeholder email
This email will be sent to notify a user of an invitation to receive alert notifications via the care partner app. Part of BACK-2500
- Loading branch information
Showing
3 changed files
with
35 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
</head> | ||
<body> | ||
<h1>Care Team Invitation with Alerting</h1> | ||
<p>Contents TBD</p> | ||
</body> | ||
</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,17 @@ | ||
package templates | ||
|
||
import ( | ||
_ "embed" | ||
|
||
"github.com/tidepool-org/hydrophone/models" | ||
) | ||
|
||
const careteamInviteWithAlertingSubject string = "Diabetes care team invitation" | ||
|
||
//go:embed careteam-invite-with-alerting.html | ||
var careteamInviteWithAlerting string | ||
|
||
func NewCareteamInviteWithAlertingTemplate() (models.Template, error) { | ||
return models.NewPrecompiledTemplate(models.TemplateNameCareteamInviteWithAlerting, | ||
careteamInviteWithAlerting, careteamInviteWithAlertingSubject) | ||
} |
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