monitoring/detail: Read "Next update" instead of "Next check" if the host or service is not active checked

refs #8378
This commit is contained in:
Eric Lippmann 2015-09-04 15:48:45 +02:00
parent bef84ad394
commit a7cf3d0eb2

View File

@ -15,7 +15,7 @@
</tr> </tr>
<tr> <tr>
<th><?= $this->translate('Next check') ?></th> <th><?= (bool) $object->active_checks_enabled ? $this->translate('Next check') : $this->translate('Next update') ?></th>
<td> <td>
<?php if ($this->hasPermission('monitoring/command/schedule-check')) { <?php if ($this->hasPermission('monitoring/command/schedule-check')) {
if ($object->getType() === $object::TYPE_SERVICE) { if ($object->getType() === $object::TYPE_SERVICE) {