From 4a968698e45ece04b25f41783298b9b397a191a1 Mon Sep 17 00:00:00 2001 From: Mantas <11616378+mistermantas@users.noreply.github.com> Date: Thu, 24 Jan 2019 19:23:35 +0200 Subject: cState is now stable on v3.0 - 2019-01-24 (info: #41) --- layouts/index.html | 61 +++++++++++++++++++++++++++--------------------------- 1 file changed, 31 insertions(+), 30 deletions(-) (limited to 'layouts/index.html') diff --git a/layouts/index.html b/layouts/index.html index 13e684d..2802ce1 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -13,7 +13,7 @@
@@ -21,28 +21,28 @@
{{ if $isDown }} - Experiencing major issues + {{ T "isDown" }} {{ else }} {{ if $isDisrupted }} - Experiencing disruptions + {{ T "isDisrupted" }} {{ else }} {{ if $isNotice }} - Please read announcement + {{ T "isNotice" }} {{ else }} - All systems operational + {{ T "isOk" }} {{ end }}{{ end }}{{ end }} - +
{{ if $active }}
{{ range $active }}
-

{{ .Title }}

+

{{ .Title }}

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

Continue reading

+

{{ T "continueReading" }}

{{ else }}{{ end }}
@@ -50,7 +50,7 @@ {{ if .Site.Params.autoRefresh }}
- We will try to refresh every 5 minutes + {{ T "autoRefreshNotice" }}
{{ else }} @@ -68,14 +68,15 @@ {{ $thisIsDown := where $activeComponentIssues "Params.severity" "=" "down" }}
- {{ $this := .name }} - {{ .name }} + + {{ .name }} + {{ with .description }} - +   (?) - + {{ . }} @@ -83,15 +84,15 @@ {{ if $thisIsDown }} - Down + {{ T "thisIsDown" }} {{ else }} {{ if $thisIsDisrupted }} - Disrupted + {{ T "thisIsDisrupted" }} {{ else }} {{ if $thisIsNotice }} - Maintenance + {{ T "thisIsNotice" }} {{ else }} - Operational + {{ T "thisIsOk" }} {{ end }}{{ end }}{{ end }} @@ -114,7 +115,7 @@
- Incidents + {{ T "incidents" }} {{ range .Site.Params.customTabs }} @@ -125,26 +126,25 @@
{{ else }} -
-

Incident history

-
+
+

{{ T "incidentHistory" }}

+
{{ end }} -
-
+
{{ if not $incidents }}
-

Is it the calm before the storm?

-

This status page has no logged incidents. This may be because the status page owner (or owners) have recently set up their status page, have had no downtime, or have not logged any downtime.

+

{{ T "calmBeforeTheStorm" }}

+

{{ T "noIncidentsDesc" }}

{{ else }} {{ $paginator := .Paginate $incidents .Site.Params.incidentPostsPerPage }} {{ range $paginator.Pages }} - {{ .Render "issue" }} + {{ .Render "small" }} {{ end }} @@ -155,12 +155,12 @@ {{ if $paginator.HasPrev }} ⭠   - Previuos + {{ T "prev" }} {{ else }} ⭠   - Previuos + {{ T "prev" }} {{ end }} @@ -174,18 +174,19 @@ {{ if $paginator.HasNext }} - Next   + {{ T "next" }}   ⭢ {{ else }} - Next   + {{ T "next" }}   ⭢ {{ end }}
{{ end }} {{ end }} +
-- cgit v1.2.3-70-g09d2