2016-11-22 00:52:41 +02:00
|
|
|
<div class="system-check-ok">
|
|
|
|
<img src="/images/icon-large-ok.svg" />
|
|
|
|
{{ with .Date }}
|
2016-11-22 03:06:08 +02:00
|
|
|
{{ $latestDate := dateFormat "2006-01-02T15:04:05" .}}
|
2016-11-22 00:52:41 +02:00
|
|
|
<p id="days-since-latest" data-latest-incident-date="{{ $latestDate }}">48+ days since last incident</p>
|
|
|
|
{{ else }}
|
|
|
|
<p>No incidents so far, all is good</p>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
|