{{ t('Downtime report') }}: @if (selectedTab === DowntimereportsEnum.Edit) { {{ t('Generator') }} } @if (report && selectedTab === DowntimereportsEnum.Calendar) { {{ t('Calendar view') }} } @if (report && selectedTab === DowntimereportsEnum.PieChart) { {{ t('Chart view') }} }
@if (report.downtimeReport) { } @if (report.downtimeReport) { }
@if (selectedTab === DowntimereportsEnum.Edit) { @if (errors['no_downtimes'] && errors['no_downtimes']['empty']) { {{ errors['no_downtimes']['empty'] }} }
@if (post.report_format === 2) {
} } @if (report && selectedTab === DowntimereportsEnum.Calendar) {
{{ formatTime(arg.event.start.getTime()) }} - {{ formatTime(arg.event.end.getTime()) }} @if (arg.event.extendedProps.type === 'host') { } @if (arg.event.extendedProps.type === 'service') { } {{ arg.event.title }}
@if (arg.event.extendedProps.type === 'host') { } @if (arg.event.extendedProps.type === 'service') { } {{ arg.event.title }}
{{ formatDate(arg.event.start.getTime()) }}
{{ formatDate(arg.event.end.getTime()) }}
{{ arg.event.extendedProps.author }}
{{ arg.event.extendedProps.comment }}
} @if (report && selectedTab === DowntimereportsEnum.PieChart) { @if (report.downtimeReport.hostsWithOutages) {
{{ t('Involved in outages (Hosts):') }}
@for (hostsWithOutages of report.downtimeReport.hostsWithOutages; track hostsWithOutages; let i = $index) { @for (host of hostsWithOutages.hosts; track host) { } }
} @if (report.downtimeReport.hostsWithoutOutages) {
{{ t('Hosts without outages:') }}
@for (host of report.downtimeReport.hostsWithoutOutages.hosts; track host) { }
} }
@if (selectedTab === DowntimereportsEnum.Edit) { }