Display check timeperiod in host and service detail view

refs #9888
This commit is contained in:
Matthias Jentsch 2015-09-11 16:39:13 +02:00
parent b2c486bf80
commit 9110153ab8
3 changed files with 23 additions and 0 deletions

View File

@ -35,6 +35,7 @@
<?= $this->render('show/components/command.phtml') ?>
<?= $this->render('show/components/checksource.phtml') ?>
<?= $this->render('show/components/checkstatistics.phtml') ?>
<?= $this->render('show/components/checktimeperiod.phtml') ?>
<?= $this->render('show/components/customvars.phtml') ?>
<?= $this->render('show/components/flags.phtml') ?>
</tbody>

View File

@ -27,6 +27,7 @@
<?= $this->render('show/components/command.phtml') ?>
<?= $this->render('show/components/checksource.phtml') ?>
<?= $this->render('show/components/checkstatistics.phtml') ?>
<?= $this->render('show/components/checktimeperiod.phtml') ?>
<?= $this->render('show/components/customvars.phtml') ?>
<?= $this->render('show/components/flags.phtml') ?>
</tbody>

View File

@ -0,0 +1,21 @@
<?php if (isset($object->service_check_timeperiod_alias)): ?>
<tr>
<th><?= $this->translate('Check Timeperiod') ?></th>
<td>
<?= $object->service_check_timeperiod_alias ?>
</td>
</tr>
<?php endif; ?>
<?php if (isset($object->host_check_timeperiod_alias)): ?>
<tr>
<th><?= $this->translate('Check Timeperiod') ?></th>
<td>
<?= $object->host_check_timeperiod_alias ?>
</td>
</tr>
<?php endif; ?>