-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #186 from ibi-group/update-email-templates
refactor: reword and add styling to user emails
- Loading branch information
Showing
5 changed files
with
25 additions
and
12 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
2 changes: 1 addition & 1 deletion
2
...ots/org/opentripplanner/middleware/utils/TemplateUtilsTest/Event_Errors_Html_Email-0.json
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 |
---|---|---|
@@ -1 +1 @@ | ||
"\n\n\n<div>\n<div>\n <h2>An email from the OTP Admin Dashboard</h2>\n</div>\n<div>\n <div>\n <h3>test subject</h3>\n <p>\n Visit the\n <a href=\"https://otp-admin-ui.now.sh?dashboard=errors\">OTP Admin Dashboard</a>\n to view new errors.\n </p>\n </div>\n</div>\n<div>\n <p>\n <small>\n Manage subscriptions <a href=\"https://otp-admin-ui.now.sh/account\">here</a>.\n </small>\n </p>\n</div>\n</div>\n" | ||
"<style>\n body { \n padding: 1em;\n }\n\n h1 {\n font-size: 18px;\n font-weight: 600;\n }\n\n small {\n color: #515151\n }\n</style>\n\n\n\n\n<body>\n <div>\n<div>\n <h2>An email from the OTP Admin Dashboard</h2>\n</div>\n<div>\n <div>\n <h3>test subject</h3>\n <p>\n Visit the\n <a href=\"https://otp-admin-ui.now.sh?dashboard=errors\">OTP Admin Dashboard</a>\n to view new errors.\n </p>\n </div>\n</div>\n<div>\n <p>\n <small>\n Manage subscriptions <a href=\"https://otp-admin-ui.now.sh/account\">here</a>.\n </small>\n </p>\n</div>\n </div>\n</body>\n" |
2 changes: 1 addition & 1 deletion
2
...s/org/opentripplanner/middleware/utils/TemplateUtilsTest/Monitored_Trip_HTML_Email-0.json
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 |
---|---|---|
@@ -1 +1 @@ | ||
"\n\n\n<div>\n<div>\n <h2>An email from the Trip Planner</h2>\n</div>\n<div>\n <div>\n <p>Your trip has the following notifications:</p>\n <ul>\n <li>Test notification.</li>\n <li>Another notification.</li>\n </ul>\n <p>View trip <a href=\"https://plan.example.com/#/account/trips/18f642d5-f7a8-475a-9469-800129e6c0b3\">here</a>.\n </div>\n</div>\n<div>\n <p>\n <small>\n Manage Subscriptions <a href=\"https://plan.example.com/#/account\">here</a>.\n </small>\n </p>\n</div>\n</div>\n" | ||
"<style>\n body { \n padding: 1em;\n }\n\n h1 {\n font-size: 18px;\n font-weight: 600;\n }\n\n small {\n color: #515151\n }\n</style>\n\n\n\n\n<body>\n <div>\n<div>\n <div>\n <h1>Your trip has the following notifications:</h1>\n <ul>\n <li>Test notification.</li>\n <li>Another notification.</li>\n </ul>\n <p>View all of your saved trips in <a href=\"https://plan.example.com/#/account/trips/18f642d5-f7a8-475a-9469-800129e6c0b3\">Trip Planner</a>.</p>\n </div>\n</div>\n<hr/>\n<div>\n <p>\n <small>\n You're receiving this email because you're subscribed to notifications through Trip Planner. You can manage that subscription <a href=\"https://plan.example.com/#/account\">here</a>.\n </small>\n </p>\n</div>\n </div>\n</body>\n" |