@if (command) {
{{ t('Command') }} »{{ command.name }}« {{ t('is used by') }} {{ total }} {{ t('objects.') }}
@if (objects) { @if (objects.Contacts.length > 0) { } @for (contact of objects.Contacts; track contact) { } @if (objects.Hosttemplates.length > 0) { } @for (hosttemplate of objects.Hosttemplates; track hosttemplate) { } @if (objects.Servicetemplates.length > 0) { } @for (servicetemplate of objects.Servicetemplates; track servicetemplate) { } @if (objects.Hosts.length > 0) { } @for (host of objects.Hosts; track host) { } @if (objects.Services.length > 0) { } @for (service of objects.Services; track service) { }
{{ t('Contacts') }} ({{ objects.Contacts.length }})
{{ contact.name }} {{ contact.name }}
{{ t('Host templates') }} ({{ objects.Hosttemplates.length }})
{{ hosttemplate.name }} {{ hosttemplate.name }}
{{ t('Service templates') }} ({{ objects.Servicetemplates.length }})
{{ servicetemplate.name }} {{ servicetemplate.name }} {{ servicetemplate.template_name }}
{{ t('Hosts') }} ({{ objects.Hosts.length }})
{{ host.name }} {{ host.name }}
{{ t('Services') }} ({{ objects.Services.length }})
{{ service._matchingData.Hosts.name }} / {{ service.name }} {{ service._matchingData.Hosts.name }} / {{ service.name }}
} @if (total === 0) { {{ t('This command is not used by any object') }} }
}