@if (servicetemplate) {
{{ t('Service template') }} »{{ servicetemplate.name }}« {{ t('is used by') }} {{ total }} {{ t('objects.') }}
@if (total > 0) { } @for (host of hostsWithServices; track $index) { @for (service of host.services; track service) { } }
{{ t('Service name') }}
@if (PermissionsService.hasPermissionObservable(['hosts', 'browser'])|async) { {{ host.name }} ({{ host.address }}) } @else { {{ host.name }} ({{ host.address }}) } @if (PermissionsService.hasPermissionObservable(['services', 'serviceList'])|async) { }
@if (PermissionsService.hasPermissionObservable(['services', 'edit'])|async) { {{ service.servicename }} } @else { {{ service.servicename }} } @if (host.allow_edit) { {{ t('Edit') }} } @if (host.allow_edit) {
  • } @if (host.allow_edit) { {{ t('Delete') }} }
    @if (hostsWithServices.length > 0) {
    } @if (total === 0) { {{ t('This service template is not used by any object') }} }
    }