Merge 08793925ae into c8e2db258c
commit
e17ce6dc2b
|
|
@ -1,6 +1,6 @@
|
||||||
.header {
|
.header {
|
||||||
height: rem(56px);
|
height: rem(56px);
|
||||||
margin-bottom: rem(100px);
|
margin-bottom: auto;
|
||||||
background-color: var(--mantine-color-body);
|
background-color: var(--mantine-color-body);
|
||||||
border-bottom: rem(1px) solid light-dark(var(--mantine-color-gray-3), var(--mantine-color-dark-4));
|
border-bottom: rem(1px) solid light-dark(var(--mantine-color-gray-3), var(--mantine-color-dark-4));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -55,13 +55,13 @@ function formatStatusChangeNotification(
|
||||||
} else if (timeNow == timeIncidentStart) {
|
} else if (timeNow == timeIncidentStart) {
|
||||||
return `🔴 ${
|
return `🔴 ${
|
||||||
monitor.name
|
monitor.name
|
||||||
} is currently down. \nService is unavailable at ${timeNowFormatted}. \nIssue: ${
|
} is down. \nService became unavailable at ${timeNowFormatted}. \nIssue: ${
|
||||||
reason || 'unspecified'
|
reason || 'unspecified'
|
||||||
}`
|
}`
|
||||||
} else {
|
} else {
|
||||||
return `🔴 ${
|
return `🔴 ${
|
||||||
monitor.name
|
monitor.name
|
||||||
} is still down. \nService is unavailable since ${timeIncidentStartFormatted} (${downtimeDuration} minutes). \nIssue: ${
|
} is down. \nService unavailable since ${timeIncidentStartFormatted} (${downtimeDuration} minutes). \nIssue: ${
|
||||||
reason || 'unspecified'
|
reason || 'unspecified'
|
||||||
}`
|
}`
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue