@if (timeperiod) {
{{ t('Time period') }} »{{ timeperiod.name }}« {{ t('is used by') }} {{ total }} {{ t('objects.') }}
@if (objects) { @if (objects.Contacts.length > 0) { @for (contact of objects.Contacts; track $index) { } } @if (objects.Hostdependencies.length > 0) { @for (hostdependency of objects.Hostdependencies; track $index) { } } @if (objects.Hostescalations.length > 0) { @for (hostescalation of objects.Hostescalations; track $index) { } } @if (objects.Hosts.length > 0) { @for (host of objects.Hosts; track $index) { } } @if (objects.Hosttemplates.length > 0) { @for (hosttemplate of objects.Hosttemplates; track $index) { } } @if (objects.Hosttemplates.length > 0) { @for (instantreport of objects.Instantreports; track $index) { } } @if (objects.Servicedependencies.length > 0) { @for (servicedependency of objects.Servicedependencies; track $index) { } } @if (objects.Serviceescalations.length > 0) { @for (serviceescalation of objects.Serviceescalations; track $index) { } } @if (objects.Services.length > 0) { @for (service of objects.Services; track $index) { } } @if (objects.Servicetemplates.length > 0) { @for (servicetemplate of objects.Servicetemplates; track $index) { } } @if (objects.Timeperiods.length > 0) { @for (timeperiod of objects.Timeperiods; track $index) { } } @if (objects.Autoreports.length > 0) { @for (autoreport of objects.Autoreports; track $index) { } }
{{ t('Contacts') }} ({{ objects.Contacts.length }})
{{ contact.name }}
{{ t('Host dependencies') }} ({{ objects.Hostdependencies.length }})
{{ t('Host dependency') }} #{{ $index + 1 }}
{{ t('Host escalations') }} ({{ objects.Hostescalations.length }})
{{ t('Host escalation') }} #{{ $index + 1 }}
{{ t('Hosts') }} ({{ objects.Hosts.length }})
{{ host.name }}
{{ t('Host templates') }} ({{ objects.Hosttemplates.length }})
{{ hosttemplate.name }}
{{ t('Instant reports') }} ({{ objects.Instantreports.length }})
{{ instantreport.name }}
{{ t('Service dependencies') }} ({{ objects.Servicedependencies.length }})
{{ t('Service dependency') }} #{{ $index + 1 }}
{{ t('Service escalations') }} ({{ objects.Serviceescalations.length }})
{{ t('Service escalation') }} #{{ $index + 1 }}
{{ t('Services') }} ({{ objects.Services.length }})
{{ service._matchingData.Hosts.name }} / {{ service.servicename }}
{{ t('Service templates') }} ({{ objects.Servicetemplates.length }})
{{ servicetemplate.name }}
{{ t('Time periods (as excluded time period)') }} ({{ objects.Timeperiods.length }})
{{ timeperiod.name }}
{{ t('Autoreports') }} ({{ objects.Autoreports.length }})
{{ autoreport.name }}
} @if (total === 0) { {{ t('This time period is not used by any object') }} }
}