2017-08-30 06:52:54 +03:00
|
|
|
{{- $severity := .Params.severity | default "under-maintenance" -}}
|
|
|
|
{{- $alert := index .Site.Data.severity.alerts $severity -}}
|
2016-11-22 00:52:41 +02:00
|
|
|
<div class="incident card">
|
|
|
|
<div class="incident-header">
|
|
|
|
<p class="incident-title">{{ .Title }}</p>
|
2017-08-30 06:52:54 +03:00
|
|
|
<div class="pull-right">
|
|
|
|
<p class="affected-systems">Affected Systems: <span class="incident-status color-{{ $alert }}">{{ delimit .Params.affectedsystems ", " }}</span>
|
|
|
|
</p>
|
|
|
|
<p class=incident-date>{{- dateFormat "02 Jan 2006 15:04 MST" .Date -}}</p>
|
|
|
|
</div>
|
2016-11-22 00:52:41 +02:00
|
|
|
</div>
|
|
|
|
<div class="incident-description">
|
|
|
|
{{- .Content -}}
|
|
|
|
</div>
|
|
|
|
<p class="incident-status color-{{ $alert }}">
|
2017-08-30 06:52:54 +03:00
|
|
|
{{- index .Site.Data.severity.descriptions $severity -}}
|
2016-11-22 00:52:41 +02:00
|
|
|
</p>
|
|
|
|
</div>
|