@if (contact) {
{{ t('Contact') }} »{{ contact.name }}« {{ t('is used by') }} {{ total }} {{ t('objects.') }}
@if (objects) { @if (objects.Contactgroups.length > 0) { } @for (contactgroup of objects.Contactgroups; track contactgroup) { } @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) { } @if (objects.Hostescalations.length > 0) { } @for (hostescalation of objects.Hostescalations; track hostescalation) { } @if (objects.Serviceescalations.length > 0) { } @for (serviceescalation of objects.Serviceescalations; track serviceescalation) { }
{{ t('Contactgroups') }} ({{ objects.Contactgroups.length }})
{{ contactgroup.container.name }} {{ contactgroup.container.name }} @if (containerIds.length > 0 && containerIds.indexOf(contactgroup.container.parent_id) !== -1) { }
{{ t('Host templates') }} ({{ objects.Hosttemplates.length }})
{{ hosttemplate.name }} {{ hosttemplate.name }} @if (containerIds.length > 0 && containerIds.indexOf(hosttemplate.container_id) !== -1) { }
{{ t('Service templates') }} ({{ objects.Servicetemplates.length }})
{{ servicetemplate.name }} {{ servicetemplate.name }} @if (containerIds.length > 0 && containerIds.indexOf(servicetemplate.container_id) !== -1) { }
{{ t('Hosts') }} ({{ objects.Hosts.length }})
{{ host.name }} {{ host.name }} @if (containerIds.length > 0 && containerIds.indexOf(host.container_id) !== -1) { }
{{ t('Services') }} ({{ objects.Services.length }})
{{ service._matchingData.Hosts.name }} / {{ service.name }} {{ service._matchingData.Hosts.name }} / {{ service.name }}
{{ t('Host escalations') }} ({{ objects.Hostescalations.length }})
{{ t('Host escalation') }} #{{ hostescalation.id }} {{ t('Host escalation') }} #{{ hostescalation.id }} @if (containerIds.length > 0 && containerIds.indexOf(hostescalation.container_id) !== -1) { }
{{ t('Service escalations') }} ({{ objects.Serviceescalations.length }})
{{ t('Service escalation') }} #{{ serviceescalation.id }} {{ t('Service escalation') }} #{{ serviceescalation.id }} @if (containerIds.length > 0 && containerIds.indexOf(serviceescalation.container_id) !== -1) { }
} @if (total === 0) { {{ t('This contact is not used by any object') }} }
}