From 8ca6cc32b2c789a3149861159ad258f2cb9491e3 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 14:39:39 +0200 Subject: Adding upstream version 2.11.4. Signed-off-by: Daniel Baumann --- .../application/views/scripts/list/downtimes.phtml | 64 ++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 modules/monitoring/application/views/scripts/list/downtimes.phtml (limited to 'modules/monitoring/application/views/scripts/list/downtimes.phtml') diff --git a/modules/monitoring/application/views/scripts/list/downtimes.phtml b/modules/monitoring/application/views/scripts/list/downtimes.phtml new file mode 100644 index 0000000..46ce0bb --- /dev/null +++ b/modules/monitoring/application/views/scripts/list/downtimes.phtml @@ -0,0 +1,64 @@ +compact): ?> +
+ tabs ?> + render('list/components/selectioninfo.phtml') ?> + paginator ?> +
+ limiter ?> + sortBox ?> +
+ filterEditor ?> +
+ +
+hasResult()): ?> +

translate('No downtimes found matching the filter.') ?>

+
+ + " + data-icinga-multiselect-data="downtime_id"> + + + + + + + + peekAhead($this->compact) as $downtime): + if (isset($downtime->service_description)) { + $this->isService = true; + $this->stateName = Service::getStateText($downtime->service_state); + } else { + $this->isService = false; + $this->stateName = Host::getStateText($downtime->host_state); + } + // Set downtime for partials + $this->downtime = $downtime; + ?> + + render('partials/downtime/downtime-header.phtml') ?> + + + +
translate('State') ?>translate('Downtime') ?>
+hasMore()): ?> + + + -- cgit v1.2.3