{{ 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) { } @if (statuspage) {

{{ statuspage.Statuspage.statuspage.name }}

{{ statuspage.Statuspage.statuspage.description }}
{{ statuspage.Statuspage.statuspage.cumulatedHumanStatus }} @if (statuspage.Statuspage.statuspage.cumulatedColorId > 0 && statuspage.Statuspage.statuspage.lastStateChange) { {{ t('State since') }}: {{ statuspage.Statuspage.statuspage.lastStateChange }} }
@for (group of statuspage.Statuspage.groupedItems; track group.group + '_' + group.colorId){ @if(!group.isUngrouped){
{{group.group}}
} @for (item of group.items; track (item.id ?? '') + '_' + $index){
@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.cumulatedColorId > 0 && item.lastStateChange) { {{ t('State since') }}: {{ item.lastStateChange }} }
@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 $index) {
{{ 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 $index) {
{{ 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]) { } Bei gleichen echten Gruppen und gleichem Status: Alphabetisch nach Gruppenname {{ item.plannedDowntimeData.length }} {{ t('scheduled maintenances for the next 10 days') }}
@if (showPlannedDowntimes[item.type + item.id]) {
@for (downtime of item.plannedDowntimeData; track $index) {
{{ t('Start') }}: {{ downtime.scheduledStartTime }}
{{ t('End') }}: {{ downtime.scheduledEndTime }}
{{ t('Comment') }}: {{ downtime.comment }}
}
}
}
}
} }