Skip to content

Instantly share code, notes, and snippets.

@armiiller
Created September 5, 2019 15:51
Show Gist options
  • Save armiiller/f574520a29c2891c10befccbe67b76e5 to your computer and use it in GitHub Desktop.
Save armiiller/f574520a29c2891c10befccbe67b76e5 to your computer and use it in GitHub Desktop.
PT2 Stakeholder Default Email Message
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Incident {{ctx.incident.id}} - {{ctx.incident.title}} - {{ctx.incident.status}}</title>
<style type="text/css" rel="stylesheet" media="all">body {
width: 100% !important; height: 100%; margin: 0; line-height: 1.4; color: #74787E; -webkit-text-size-adjust: none;
}
@media only screen and (max-width:600px) {
.email-body_inner {
width: 100% !important;
}
.email-footer {
width: 100% !important;
}
}
@media only screen and (max-width:500px) {
.button {
width: 100% !important;
}
}
</style></head>
<body style="margin: 0; font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; width: 100% !important; height: 100%; line-height: 1.4; color: #74787E; -webkit-text-size-adjust: none;" bgcolor="#F2F4F6">
<table width="100%" cellpadding="0" cellspacing="0" style="margin: 0; padding: 0; font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; width: 100%;" bgcolor="#F2F4F6">
<tr>
<td align="center" style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; word-break: break-word;">
<table width="100%" cellpadding="0" cellspacing="0" style="margin: 0; padding: 0; font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; width: 100%;">
<tr>
<td style="padding: 25px 0; font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; word-break: break-word;" align="center">
<a href="https://pagertree.com" style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; color: #bbbfc3; font-size: 16px; font-weight: 700; text-decoration: none; text-shadow: 0 1px 0 #fff;">
<img src="https://pagertree.com/assets/img/logo/pagertree-logo-black.png" alt="PagerTree" width="186" style="border: 0; font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box;" />
</a>
</td>
</tr>
<tr>
<td width="100%" cellpadding="0" cellspacing="0" style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; word-break: break-word; width: 100%; -premailer-cellpadding: 0; -premailer-cellspacing: 0; border-top-width: 1px; border-top-color: #EDEFF2; margin: 0; border-top-style: solid; padding: 0; border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: #EDEFF2;" bgcolor="#FFF">
<table align="center" width="570" cellpadding="0" cellspacing="0" style="margin: 0 auto; padding: 0; font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; width: 570px;" bgcolor="#FFF">
<tr>
<td style="padding: 35px; font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; word-break: break-word;">
<h2 style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; margin-top: 0; color: #2F3133; font-size: 16px; font-weight: 700;" align="left">Incident Details</h2>
<table width="100%" cellpadding="0" cellspacing="0" style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box;">
<tr>
<td style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; word-break: break-word;">
<table width="100%" cellpadding="0" cellspacing="0" style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box;">
{{#if (not ctx.account.hipaanotifications)}}
<tr>
<td style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; word-break: break-word;">
<strong style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box;">Title</strong> {{{ctx.incident.title}}}</td>
</tr>
<tr>
<td style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; word-break: break-word;">
<strong style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box;">Description</strong> {{{ctx.incident.description}}}</td>
</tr>
{{/if}}
<tr>
<td style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; word-break: break-word;">
<strong style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box;">Status</strong> {{ctx.incident.status}}</td>
</tr>
<tr>
<td style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; word-break: break-word;">
<strong style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box;">Urgency</strong> {{ctx.incident.urgency}}</td>
</tr>
<tr>
<td style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; word-break: break-word;">
<strong style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box;">Created</strong> {{unix-timezone ctx.incident.created ctx.user.preferences.timezone "LLL"}}</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="padding: 35px; font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; word-break: break-word;">
{{#if (eq ctx.alert.template "notify")}}
<h2 style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; margin-top: 0; color: #2F3133; font-size: 16px; font-weight: 700;" align="left">Take Action</h2>
<table align="center" width="100%" cellpadding="0" cellspacing="0" style="padding: 0; margin: 30px auto; font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; width: 100%; text-align: center;">
<tr>
<td align="center" style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; word-break: break-word;">
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box;">
<tr>
<td align="center" style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; word-break: break-word;">
<table border="0" cellspacing="0" cellpadding="0" style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box;">
<tr>
<td style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; word-break: break-word;">
<a href="{{ctx.app.web_proxy_url}}/public/incident/{{ctx.incident.sid}}/{{ctx.incident.id}}/acknowledge?u={{ctx.user.id}}&amp;s={{generatesignature ctx.incident ctx.user 'acknowledge'}}" target="_blank" style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; color: #FFF; background-color: #FEA223; display: inline-block; text-decoration: none; border-radius: 3px; border-style: solid; border-color: #fea223; box-shadow: 0 2px 3px rgba(0,0,0,.16); border-width: 10px 18px; -webkit-text-size-adjust: none;">Acknowledge</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box;">
<tr>
<td align="center" style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; word-break: break-word;">
<table border="0" cellspacing="0" cellpadding="0" style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box;">
<tr>
<td style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; word-break: break-word;">
<a href="{{ctx.app.web_proxy_url}}/public/incident/{{ctx.incident.sid}}/{{ctx.incident.id}}/reject?u={{ctx.user.id}}&amp;s={{generatesignature ctx.incident ctx.user 'reject'}}" target="_blank" style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; color: #FFF; background-color: #B64645; display: inline-block; text-decoration: none; border-radius: 3px; border-style: solid; border-color: #b64645; box-shadow: 0 2px 3px rgba(0,0,0,.16); border-width: 10px 18px; -webkit-text-size-adjust: none;">Reject</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br />
</td>
</tr>
</table>
{{/if}}
<table style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; margin-top: 25px; padding-top: 25px; border-top-color: #EDEFF2; border-top-style: solid; border-top-width: 1px;">
<tr>
<td style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; word-break: break-word;">
<p style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; line-height: 1.5em; margin-top: 0; color: #74787E; font-size: 12px;" align="left">No longer need stakeholder communications?
<a href="{{ctx.app.web_proxy_url}}/public/team/{{ctx.incident.sid}}/{{ctx.incident.d_team_id}}/stakeholder/unsubscribe?{{#if ctx.alert}}user_id={{ctx.alert.user_id}}{{else}}email={{ctx.email}}{{/if}}" style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; color: #3FBAE4;">Unsubscribe</a>
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; word-break: break-word;">
<table align="center" width="570" cellpadding="0" cellspacing="0" style="padding: 0; margin: 0 auto; font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; width: 570px; text-align: center;">
<tr>
<td align="center" style="padding: 35px; font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; word-break: break-word;">
<table align="center" width="570" cellpadding="0" cellspacing="0" style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; width: auto;">
<tr>
<td style="padding: 0; font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; word-break: break-word; width: auto;" align="center">
<a href="https://www.facebook.com/pagertree" style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; color: #3FBAE4;">
<img src="https://pagertree.com/assets/img/social/facebook.png" height="20" alt="Facebook" style="padding: 0; border: 0; margin: 0 8px 10px; font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; height: 20px;" />
</a>
</td>
<td style="padding: 0; font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; word-break: break-word; width: auto;" align="center">
<a href="https://twitter.com/pagertree" style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; color: #3FBAE4;">
<img src="https://pagertree.com/assets/img/social/twitter.png" height="20" alt="Twitter" style="padding: 0; border: 0; margin: 0 8px 10px; font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; height: 20px;" />
</a>
</td>
<td style="padding: 0; font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; word-break: break-word; width: auto;" align="center">
<a href="https://www.linkedin.com/company/pagertree" style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; color: #3FBAE4;">
<img src="https://pagertree.com/assets/img/social/linkedin.png" height="20" alt="LinkedIn" style="padding: 0; border: 0; margin: 0 8px 10px; font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; height: 20px;" />
</a>
</td>
</tr>
</table>
<p style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; line-height: 1.5em; color: #AEAEAE; margin-top: 0; font-size: 12px;" align="center">© 2016-2019 PagerTree. All rights reserved.</p>
<p style="font-family: Arial,'Helvetica Neue',Helvetica,sans-serif; box-sizing: border-box; line-height: 1.5em; color: #AEAEAE; margin-top: 0; font-size: 12px;" align="center">
PagerTree LLC
<br />575 Matmor Rd. #43
<br />Woodland, CA 95776
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment