{{> Start this}}


{{> Logo this}}
{{> EmailTitle title=(concat "Monitor: " monitorName) }}

{{> InfoBlock info="Monitor status has changed"}}

{{> InfoBlock info="Here are the details: "}}

{{> DetailBoxStart this }}
{{> StatusTransition this}}
{{#ifNotCond previousStatusDurationText ""}}
{{> DetailBoxField title="Duration in Previous Status:" text=previousStatusDurationText }}
{{/ifNotCond}}
{{> DetailBoxField title="Monitor Name:" text=monitorName }}
{{#ifNotCond monitorDestination ""}}
{{#ifCond monitorType "API"}}
{{> DetailBoxField title="Monitor URL:" text=(concat requestType " " monitorDestination) }}
{{else}}
{{> DetailBoxField title="Monitor Destination:" text=monitorDestination }}
{{/ifCond}}
{{/ifNotCond}}
{{#ifNotCond rootCause ""}}
{{> DetailBoxField title="Root Cause:" text=rootCause }}
{{/ifNotCond}}
{{> DetailBoxField title="Status changed at:" text=statusChangedAt }}
{{> DetailBoxField title="Description:" text=monitorDescription }}
{{> DetailBoxEnd this }}


{{> InfoBlock info="You can view this monitor by clicking on the button below - "}}

{{> ButtonBlock buttonUrl=monitorViewLink buttonText="View on Dashboard"}}

{{> InfoBlock info="You can also copy and paste this link:"}}
{{> InfoBlock info=monitorViewLink}}

{{> InfoBlock info="You will be notified when the status of this monitor changes."}}

{{> OwnerInfo this }}
{{> UnsubscribeOwnerEmail this }}

{{> Footer this }}

{{> End this}}