+ {{ $systems := .Site.Params.systems }}
+ {{ $categories := .Site.Params.categories }}
+
+ {{ range $categories }}
+
+ {{ if not .untitled }}
+
+ {{ if .closed }}⯈{{ else }}⯆{{ end }}
+
+ {{ .name }}
+
+ {{ with .description }}
+
+ (?)
+
+
+ {{ . }}
- {{ end }}
-
-
- {{ if $thisIsDown }}
- {{ T "thisIsDown" }}
- {{ else }}
- {{ if $thisIsDisrupted }}
- {{ T "thisIsDisrupted" }}
- {{ else }}
- {{ if $thisIsNotice }}
- {{ T "thisIsNotice" }}
- {{ else }}
- {{ T "thisIsOk" }}
- {{ end }}{{ end }}{{ end }}
+ {{ end }}
+
+
+ {{ else }}
+
+ {{ end }}
+
+ {{ $categorySystems := where $systems "category" "=" .name }}
+
+
+ {{ range $categorySystems }}
+ {{ $activeComponentIssues := where $active "Params.affected" "intersect" (slice .name) }}
- {{ with .partial }}
-
- {{ partial . . }}
+ {{ $thisIsNotice := where $activeComponentIssues "Params.severity" "=" "notice" }}
+ {{ $thisIsDisrupted := where $activeComponentIssues "Params.severity" "=" "disrupted" }}
+ {{ $thisIsDown := where $activeComponentIssues "Params.severity" "=" "down" }}
+
+
+
+ {{ .name }}
+
+
+ {{ with .description }}
+
+ (?)
+
+
+ {{ . }}
+
+
+ {{ end }}
+
+
+ {{ if $thisIsDown }}
+ {{ T "thisIsDown" }}
+ {{ else }}
+ {{ if $thisIsDisrupted }}
+ {{ T "thisIsDisrupted" }}
+ {{ else }}
+ {{ if $thisIsNotice }}
+ {{ T "thisIsNotice" }}
+ {{ else }}
+ {{ T "thisIsOk" }}
+ {{ end }}{{ end }}{{ end }}
+
+
+ {{ with .partial }}
+
+ {{ partial . . }}
+
+ {{ end }}
- {{ end }}
+ {{ end }}
- {{ end }}
-
\ No newline at end of file
+