diff options
author | Mantas Vilčinskas <11616378+mistermantas@users.noreply.github.com> | 2019-12-21 21:25:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-21 21:25:21 +0200 |
commit | a8f60c31b75fe5a3c91a6595585738523f1cad25 (patch) | |
tree | 7528a3042e37765e286c9490f5b321e6799acb41 /layouts/issues/issue.html | |
parent | 96394ffb854ec6b8f17aa1ef105eb9ff92e5e676 (diff) | |
parent | 12e885ad58d44d55603a64906d1dcf7f1d961b4c (diff) |
cState v4.0 Final (#82)
cState v4.0 Final
Diffstat (limited to 'layouts/issues/issue.html')
-rw-r--r-- | layouts/issues/issue.html | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/layouts/issues/issue.html b/layouts/issues/issue.html index c344f57..62f3ab3 100644 --- a/layouts/issues/issue.html +++ b/layouts/issues/issue.html @@ -24,7 +24,8 @@ {{ end }} </small></p> - {{ if .Params.Resolved }} + {{ if .Params.informational }} + {{ else if .Params.Resolved }} {{ $t := (time .Params.ResolvedWhen) }} {{ $timeDiff := (sub $t.Unix .Date.Unix) }} {{ $diffInMin := (div $timeDiff 60) }} @@ -79,7 +80,15 @@ {{ end }} {{ end }} {{ else }} - <strong class="error">{{ T "downtimeOngoing" }}</strong> + <strong class="error"> + {{ if eq .Params.severity "down" }} + ■ + {{ else if eq .Params.severity "disrupted" }} + ▲ + {{ else }} + ◆ + {{ end }} + {{ T "downtimeOngoing" }}</strong> {{ end }} <hr> |