{{ t('Status page') }} @if (statuspage) { {{ statuspage.Statuspage.statuspage.name }} }
@if (statuspage && statuspage.Statuspage.statuspage.public) { @if (statuspage.Statuspage.statuspage.public_identifier) { {{ t('Public view') }} } @else { {{ t('Public view') }} } }
@if (!statuspage) { } @if (statuspage) {

{{ statuspage.Statuspage.statuspage.name }}

{{ statuspage.Statuspage.statuspage.description }}

{{ statuspage.Statuspage.statuspage.cumulatedHumanStatus }}

@for (item of statuspage.Statuspage.items; track item) {
@if (item.type === 'host') {
@if (this.PermissionsService.hasPermissionObservable(['hosts', 'browser'])|async) { {{ item.name }} } @else { {{ item.name }} }
} @if (item.type === 'service') {
@if (this.PermissionsService.hasPermissionObservable(['services', 'browser'])|async) { {{ item.name }} } @else { {{ item.name }} }
} @if (item.type === 'hostgroup') {
@if (this.PermissionsService.hasPermissionObservable(['hostgroups', 'extended'])|async) { {{ item.name }} } @else { {{ item.name }} }
} @if (item.type === 'servicegroup') {
@if (this.PermissionsService.hasPermissionObservable(['servicegroups', 'extended'])|async) { {{ item.name }} } @else { {{ item.name }} }
}
{{ item.cumulatedStateName }}
@if (item.acknowledgedProblemsText && item.cumulatedColorId > 0 && statuspage.Statuspage.statuspage.showAcknowledgements) {
@if (item.acknowledgeComment && item.acknowledgeComment.length > 0) { @if (!showAcknowledgeComments[item.type + item.id]) { } @if (showAcknowledgeComments[item.type + item.id]) { } } {{ item.acknowledgedProblemsText }}
} @if (showAcknowledgeComments[item.type + item.id]) {
@for (comment of item.acknowledgeComment; track comment) {
{{ t('Comment') }}: {{ comment }}
}
}
@if (item.downtimeData.length > 0 && statuspage.Statuspage.statuspage.showDowntimes) {
@if (!showCurrentDowntimes[item.type + item.id]) { } @if (showCurrentDowntimes[item.type + item.id]) { } {{ item.downtimeData.length }} {{ t('current maintenances') }}
@if (showCurrentDowntimes[item.type + item.id]) {
@for (downtime of item.downtimeData; track downtime) {
{{ t('Start') }}: {{ downtime.scheduledStartTime }}
{{ t('End') }}: {{ downtime.scheduledEndTime }}
{{ t('Comment') }}: {{ downtime.comment }}
}
}
} @if (item.plannedDowntimeData.length > 0 && statuspage.Statuspage.statuspage.showDowntimes) {
@if (!showPlannedDowntimes[item.type + item.id]) { } @if (showPlannedDowntimes[item.type + item.id]) { } {{ item.plannedDowntimeData.length }} {{ t('scheduled maintenances for the next 10 days') }}
@if (showPlannedDowntimes[item.type + item.id]) {
@for (downtime of item.plannedDowntimeData; track downtime) {
{{ t('Start') }}: {{ downtime.scheduledStartTime }}
{{ t('End') }} {{ downtime.scheduledEndTime }}
{{ t('Comment') }}: {{ downtime.comment }}
}
}
}
} }