2016-11-21 14:52:41 -08:00
|
|
|
<div class="incident card">
|
|
|
|
<div class="incident-header">
|
|
|
|
<p class="incident-title">{{ .Title }}</p>
|
2016-11-21 17:42:14 -08:00
|
|
|
<p class="incident-date">{{ dateFormat "02 Jan 2006 15:04 MST" .Date }}</p>
|
2016-11-21 14:52:41 -08:00
|
|
|
</div>
|
|
|
|
<div class="incident-description">
|
|
|
|
{{- .Content -}}
|
|
|
|
</div>
|
2016-11-23 09:53:38 -08:00
|
|
|
{{- $alert := index .Site.Data.severity.alerts .Params.severity -}}
|
2016-11-21 14:52:41 -08:00
|
|
|
|
|
|
|
<p class="incident-status color-{{ $alert }}">
|
2016-11-23 09:53:38 -08:00
|
|
|
{{ index .Site.Data.severity.descriptions .Params.severity }}
|
2016-11-21 14:52:41 -08:00
|
|
|
</p>
|
|
|
|
</div>
|