Loading exampleSite/config.yml +1 −1 Original line number Diff line number Diff line Loading @@ -170,7 +170,7 @@ params: # # Default: true # BOOLEAN; `true`, `false` enableYearlyIncidentHistory: false enableYearlyIncidentHistory: true # Should we show the logo or the title # of the status page? Loading exampleSite/content/issues/2018-06-13-maintenance-window.md +2 −1 Original line number Diff line number Diff line --- title: Maintenance Window date: 2018-06-13 15:54:00 resolved: false resolved: true resolvedWhen: 2018-06-13 16:54:00 # Possible severity levels: down, disrupted, notice severity: disrupted affected: Loading exampleSite/content/issues/2019-10-04-testing-cstate-functions.md 0 → 100644 +11 −0 Original line number Diff line number Diff line --- title: Testing New cState Features date: 2019-10-04 18:05:00 resolvedWhen: 2019-10-04 18:05:00 informational: true section: issue --- There is a new feature in cState version 4 that lets you make what are called _informational_ posts. The main difference is that there will be no _Unresolved_ or _Resolved in under a minute_ text on the pages. This is essentially a page with a date and title. No newline at end of file exampleSite/content/issues/2019-10-08-testing-new-pipeline.md 0 → 100644 +13 −0 Original line number Diff line number Diff line --- title: New Pipeline Rollout date: 2019-10-05 16:24:00 resolved: false resolvedWhen: 2019-10-05 16:58:00 # Possible severity levels: down, disrupted, notice severity: disrupted affected: - API section: issue --- There may be disruptions in the rollout. No newline at end of file layouts/issues/issue.html +11 −2 Original line number Diff line number Diff line Loading @@ -24,7 +24,8 @@ {{ end }} </small></p> {{ if .Params.Resolved }} {{ if .Params.informational }} {{ else if .Params.Resolved }} {{ $t := (time .Params.ResolvedWhen) }} {{ $timeDiff := (sub $t.Unix .Date.Unix) }} {{ $diffInMin := (div $timeDiff 60) }} Loading Loading @@ -79,7 +80,15 @@ {{ end }} {{ end }} {{ else }} <strong class="error">{{ T "downtimeOngoing" }}</strong> <strong class="error"> {{ if eq .Params.severity "down" }} ◼ {{ else if eq .Params.severity "disrupted" }} ▲ {{ else }} ◆ {{ end }} {{ T "downtimeOngoing" }}</strong> {{ end }} <hr> Loading Loading
exampleSite/config.yml +1 −1 Original line number Diff line number Diff line Loading @@ -170,7 +170,7 @@ params: # # Default: true # BOOLEAN; `true`, `false` enableYearlyIncidentHistory: false enableYearlyIncidentHistory: true # Should we show the logo or the title # of the status page? Loading
exampleSite/content/issues/2018-06-13-maintenance-window.md +2 −1 Original line number Diff line number Diff line --- title: Maintenance Window date: 2018-06-13 15:54:00 resolved: false resolved: true resolvedWhen: 2018-06-13 16:54:00 # Possible severity levels: down, disrupted, notice severity: disrupted affected: Loading
exampleSite/content/issues/2019-10-04-testing-cstate-functions.md 0 → 100644 +11 −0 Original line number Diff line number Diff line --- title: Testing New cState Features date: 2019-10-04 18:05:00 resolvedWhen: 2019-10-04 18:05:00 informational: true section: issue --- There is a new feature in cState version 4 that lets you make what are called _informational_ posts. The main difference is that there will be no _Unresolved_ or _Resolved in under a minute_ text on the pages. This is essentially a page with a date and title. No newline at end of file
exampleSite/content/issues/2019-10-08-testing-new-pipeline.md 0 → 100644 +13 −0 Original line number Diff line number Diff line --- title: New Pipeline Rollout date: 2019-10-05 16:24:00 resolved: false resolvedWhen: 2019-10-05 16:58:00 # Possible severity levels: down, disrupted, notice severity: disrupted affected: - API section: issue --- There may be disruptions in the rollout. No newline at end of file
layouts/issues/issue.html +11 −2 Original line number Diff line number Diff line Loading @@ -24,7 +24,8 @@ {{ end }} </small></p> {{ if .Params.Resolved }} {{ if .Params.informational }} {{ else if .Params.Resolved }} {{ $t := (time .Params.ResolvedWhen) }} {{ $timeDiff := (sub $t.Unix .Date.Unix) }} {{ $diffInMin := (div $timeDiff 60) }} Loading Loading @@ -79,7 +80,15 @@ {{ end }} {{ end }} {{ else }} <strong class="error">{{ T "downtimeOngoing" }}</strong> <strong class="error"> {{ if eq .Params.severity "down" }} ◼ {{ else if eq .Params.severity "disrupted" }} ▲ {{ else }} ◆ {{ end }} {{ T "downtimeOngoing" }}</strong> {{ end }} <hr> Loading