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">
|
2017-08-31 04:02:11 +03:00
|
|
|
<div class="flex-out">
|
|
|
|
<h1 class="incident-title">{{ .Title }}</h1>
|
|
|
|
<p class="small mute">{{- dateFormat "02 Jan 2006 15:04 MST" .Date -}}</p>
|
2016-11-22 00:52:41 +02:00
|
|
|
</div>
|
|
|
|
<div class="incident-description">
|
|
|
|
{{- .Content -}}
|
|
|
|
</div>
|
2017-09-05 18:26:19 +03:00
|
|
|
<div class="incident-status flex-out">
|
2017-08-31 04:02:11 +03:00
|
|
|
<p class="color-{{ $alert }}">
|
|
|
|
{{- index .Site.Data.severity.descriptions $severity -}}
|
|
|
|
</p>
|
|
|
|
<p class="small">Affected Systems:
|
|
|
|
<span class="color-{{ $alert }}">
|
|
|
|
{{- delimit .Params.affectedsystems ", " -}}
|
|
|
|
</span>
|
|
|
|
</p>
|
|
|
|
</div>
|
2016-11-22 00:52:41 +02:00
|
|
|
</div>
|