aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorMantas Vilčinskas <hi@mnts.lt>2021-10-02 17:23:45 +0300
committerMantas Vilčinskas <hi@mnts.lt>2021-10-02 17:23:45 +0300
commit9c96914679f1ff1df0f14f2ba629a93ae2013843 (patch)
treea8c2be1d7d98bae50b83434a2277367fa427a187 /layouts
parenteca25190658a7f5771c574287af9a51d7de2355c (diff)
fix #208 - /affected/gateway/index.svg shows component status
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/list.svg4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/list.svg b/layouts/_default/list.svg
index dbd6483..73b480f 100644
--- a/layouts/_default/list.svg
+++ b/layouts/_default/list.svg
@@ -1,9 +1,9 @@
-{{ $incidents := where .Site.RegularPages "Params.section" "issue" -}}
+{{ $incidents := where .RegularPages "Params.section" "issue" -}}
{{ $active := where $incidents "Params.resolved" "=" false -}}
{{ $isNotice := where $active "Params.severity" "=" "notice" -}}
{{ $isDisrupted := where $active "Params.severity" "=" "disrupted" -}}
{{ $isDown := where $active "Params.severity" "=" "down" -}}
-{{ $shield_prefix := .Site.Title -}}
+{{ $shield_prefix := .Title -}}
{{ $status_text := T "thisIsOk" -}}
{{ $status_color := .Site.Params.ok -}}
{{ if $isDown -}}