From 8dd25fab185f5e1d7dc2db10a833b4977f801cd5 Mon Sep 17 00:00:00 2001 From: Mantas <11616378+mistermantas@users.noreply.github.com> Date: Sun, 27 Jan 2019 10:43:29 +0200 Subject: Fixing a11y, colors, UX, minor cleanup --- layouts/partials/index/announcements.html | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'layouts/partials/index/announcements.html') diff --git a/layouts/partials/index/announcements.html b/layouts/partials/index/announcements.html index a02045e..0be3835 100644 --- a/layouts/partials/index/announcements.html +++ b/layouts/partials/index/announcements.html @@ -2,13 +2,23 @@ {{ $active := where $incidents "Params.resolved" "=" false }} {{ if $active }} -
+
{{ range $active }}
-

{{ .Title }}

+

+ {{ .Title }} → +

+ +

+ {{ range .Params.Affected }} + {{ . }} + {{ end }} +

+ {{ .Content | safeHTML | truncate 500 "…" }} -

{{ T "continueReading" }}

+

- {{ else }}{{ end }} +
+ {{ end }}
{{ end }} \ No newline at end of file -- cgit v1.2.3-70-g09d2