Skip to content

Instantly share code, notes, and snippets.

@armiiller
armiiller / push.subject.hbs
Created September 5, 2019 15:38
PT2 Default Incident Push Subject
Incident {{ctx.incident.id}}
@armiiller
armiiller / push.message.hbs
Created September 5, 2019 15:40
PT2 Default Incident Push Message
{{#if ctx.account.hipaanotifications}}
Swipe for details
{{else}}
{{sanitize ctx.incident.title}}
{{/if}}
@armiiller
armiiller / voice.message.hbs
Created September 5, 2019 15:41
PT2 Default Incident Voice Message
{{#if (not ctx.account.hipaanotifications)}}
Incident {{sanitize ctx.incident.title}}.
{{else}}
New incident available. See dashboard for details.
{{/if}}
Push {{default (get "account.notification_templates.incident_notify.voice.acknowledge" ctx) 1}} to acknowledge or {{default (get "account.notification_templates.incident_notify.voice.reject" ctx) 2}} to reject.
@armiiller
armiiller / sms.message.hbs
Created September 5, 2019 15:43
PT2 Default Incident SMS Message
{{ctx.incident.id}}{{#if (not ctx.account.hipaanotifications)}} "{{sanitize ctx.incident.title}}"{{/if}}
Reply
A to acknowledge
R to reject
@armiiller
armiiller / email.subject.hbs
Created September 5, 2019 15:45
PT2 Default Incident Email Subject
🔥 New Incident {{ctx.incident.id}}{{#if (not ctx.account.hipaanotifications)}} - {{ctx.incident.title}}{{/if}}
@armiiller
armiiller / email.message.hbs
Created September 5, 2019 15:46
PT2 Default Incident 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) {
@armiiller
armiiller / sh.email.subject.hbs
Created September 5, 2019 15:49
PT2 Stakeholder Default Email Subject
[STAKEHOLDER] Incident {{ctx.incident.id}} - {{uppercase ctx.incident.status}} - {{#if (not ctx.account.hipaanotifications)}} "{{ctx.incident.title}}"{{/if}}
@armiiller
armiiller / sh.email.message.hbs
Created September 5, 2019 15:51
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) {
@armiiller
armiiller / sh.push.subject.hbs
Created September 5, 2019 15:52
PT2 Stakeholder Default Push Subject Template
[STAKEHOLDER] Incident {{ctx.incident.id}} - {{uppercase ctx.incident.status}}
@armiiller
armiiller / sh.push.message.hbs
Created September 5, 2019 15:53
PT2 Stakeholder Default Push Message
{{#if ctx.account.hipaanotifications}}
Swipe for details
{{else}}
{{sanitize ctx.incident.title}}
{{/if}}