@if (widget) {
@if (!isReadonly()) { }
@if (animationStateShowContent) {
@if (statusCount !== null) { @if (PermissionsService.hasPermissionObservable(['services', 'index'])|async) { @if (statusCount > 0 && config && ( PermissionsService.hasPermissionObservable(['hosts', 'index'])|async )) { {{ statusCount }} } @else { {{ statusCount }} } } @else { {{ t('You are not permitted to access this object') }} } } @switch (config?.Servicestatus?.current_state) { @case (0) { } @case (1) { } @case (2) { } @case (3) { } }
}
@if (animationStateShowConfig) { @if (config) {
{{ t('Service status') }}
@if (config.Servicestatus.current_state > 0) {
{{ t('Acknowledgements') }}
{{ t('Downtimes') }}
}
} }
}