From 9110153ab8a712f1314b2cda4be46680924051bf Mon Sep 17 00:00:00 2001 From: Matthias Jentsch Date: Fri, 11 Sep 2015 16:39:13 +0200 Subject: [PATCH] Display check timeperiod in host and service detail view refs #9888 --- .../application/views/scripts/host/show.phtml | 1 + .../views/scripts/service/show.phtml | 1 + .../show/components/checktimeperiod.phtml | 21 +++++++++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 modules/monitoring/application/views/scripts/show/components/checktimeperiod.phtml diff --git a/modules/monitoring/application/views/scripts/host/show.phtml b/modules/monitoring/application/views/scripts/host/show.phtml index 12de39a78..23e2bf4e2 100644 --- a/modules/monitoring/application/views/scripts/host/show.phtml +++ b/modules/monitoring/application/views/scripts/host/show.phtml @@ -35,6 +35,7 @@ render('show/components/command.phtml') ?> render('show/components/checksource.phtml') ?> render('show/components/checkstatistics.phtml') ?> + render('show/components/checktimeperiod.phtml') ?> render('show/components/customvars.phtml') ?> render('show/components/flags.phtml') ?> diff --git a/modules/monitoring/application/views/scripts/service/show.phtml b/modules/monitoring/application/views/scripts/service/show.phtml index 1fac5752f..ad7fb4177 100644 --- a/modules/monitoring/application/views/scripts/service/show.phtml +++ b/modules/monitoring/application/views/scripts/service/show.phtml @@ -27,6 +27,7 @@ render('show/components/command.phtml') ?> render('show/components/checksource.phtml') ?> render('show/components/checkstatistics.phtml') ?> + render('show/components/checktimeperiod.phtml') ?> render('show/components/customvars.phtml') ?> render('show/components/flags.phtml') ?> diff --git a/modules/monitoring/application/views/scripts/show/components/checktimeperiod.phtml b/modules/monitoring/application/views/scripts/show/components/checktimeperiod.phtml new file mode 100644 index 000000000..0758a570c --- /dev/null +++ b/modules/monitoring/application/views/scripts/show/components/checktimeperiod.phtml @@ -0,0 +1,21 @@ +service_check_timeperiod_alias)): ?> + + + translate('Check Timeperiod') ?> + + service_check_timeperiod_alias ?> + + + + + +host_check_timeperiod_alias)): ?> + + + translate('Check Timeperiod') ?> + + host_check_timeperiod_alias ?> + + + +