From 9c96914679f1ff1df0f14f2ba629a93ae2013843 Mon Sep 17 00:00:00 2001 From: Mantas VilĨinskas Date: Sat, 2 Oct 2021 17:23:45 +0300 Subject: fix #208 - /affected/gateway/index.svg shows component status --- layouts/_default/list.svg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'layouts') 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 -}} -- cgit v1.2.3-70-g09d2