@if (widget) {
@if (!isReadonly()) { }
@if (animationStateShowContent) { @if (!slaId) {
{{ t('No element selected') }}
} @if (PermissionsService.hasPermissionObservable(['slamodule', 'slas', 'viewDetails'])|async) { @if (slaId && slaResponse) {
{{ slaResponse.sla.name }} {{ slaResponse.sla.description }} {{ t('Container') }} {{ t('Number of hosts') }} {{ t('Number of services') }} {{ t('Total') }} {{ slaResponse.sla.hostsCount }} {{ slaResponse.sla.servicesCount }} {{ t('Host UP') }} {{ t('Host DOWN') }} {{ t('Service UP') }} {{ t('Service DOWN') }} @for (hostAndServicePerContainer of SlaAvailabilityView; track $index) { {{ hostAndServicePerContainer.container.full_path }} @if (hostAndServicePerContainer.hosts.passed.count > 0 && ( PermissionsService.hasPermissionObservable(['hosts', 'index'])|async )) { {{ hostAndServicePerContainer.hosts.passed.count }} {{ hostAndServicePerContainer.hosts.passed.percentage }} } @else { {{ hostAndServicePerContainer.hosts.passed.count }} {{ hostAndServicePerContainer.hosts.passed.percentage }} } @if (hostAndServicePerContainer.hosts.failed.count > 0 && ( PermissionsService.hasPermissionObservable(['hosts', 'index'])|async )) { {{ hostAndServicePerContainer.hosts.failed.count }} {{ hostAndServicePerContainer.hosts.failed.percentage }} } @else { {{ hostAndServicePerContainer.hosts.failed.count }} {{ hostAndServicePerContainer.hosts.failed.percentage }} } @if (hostAndServicePerContainer.services.passed.count > 0 && ( PermissionsService.hasPermissionObservable(['services', 'index'])|async )) { {{ hostAndServicePerContainer.services.passed.count }} {{ hostAndServicePerContainer.services.passed.percentage }} } @else { {{ hostAndServicePerContainer.services.passed.count }} {{ hostAndServicePerContainer.services.passed.percentage }} } @if (hostAndServicePerContainer.services.failed.count > 0 && ( PermissionsService.hasPermissionObservable(['services', 'index'])|async )) { {{ hostAndServicePerContainer.services.failed.count }} {{ hostAndServicePerContainer.services.failed.percentage }} } @else { {{ hostAndServicePerContainer.services.failed.count }} {{ hostAndServicePerContainer.services.failed.percentage }} } } @if (!SlaAvailabilityView && ( PermissionsService.hasPermissionObservable(['SlaModule', 'slas', 'viewDetails'])|async )) {

{{ t('Information') }}

{{ t('No data available ') }}

}
} } @else {

{{ t('Attention!') }}

{{ t('You are not permitted to access this object') }}

} }
@if (animationStateShowConfig) { @if (widget) {
} }
}