{{> Start this}}

{{> CustomLogo this}}

{{> EmailTitle title=(concat "Postmortem Published: " incidentTitle) }}

{{> InfoBlock info="A postmortem report has been published for an incident that affected services you're subscribed to."}}

{{> DetailBoxStart this }}
{{> DetailBoxField title="Incident" text=incidentTitle }}
{{> DetailBoxField title="Severity" text=incidentSeverity  }}
{{> DetailBoxField title="Affected Resources" text=resourcesAffected  }}
{{#if postmortemNote}}
{{> DetailBoxField title="Postmortem Summary" text=postmortemNote  }}
{{/if}}
{{> DetailBoxEnd this }}

{{#if detailsUrl}}
{{> ButtonBlock buttonUrl=detailsUrl buttonText="Read Full Postmortem"}}
{{else}}
{{> ButtonBlock buttonUrl=statusPageUrl buttonText="View Status Page"}}
{{/if}}

{{> VerticalSpace this}}

{{#if subscriberEmailNotificationFooterText}}
{{> InfoBlock info=subscriberEmailNotificationFooterText }}
{{/if}}

{{> UnsubscribeBlock this}}

{{> Footer this}}

{{> End this}}