monitoring/detail: Hide Reschedule link if the host or service is not actively checked
refs #8378
This commit is contained in:
parent
363f6271d9
commit
7464742afe
|
@ -17,7 +17,7 @@
|
|||
<tr>
|
||||
<th><?= (bool) $object->active_checks_enabled ? $this->translate('Next check') : $this->translate('Next update') ?></th>
|
||||
<td>
|
||||
<?php if ($this->hasPermission('monitoring/command/schedule-check')) {
|
||||
<?php if ((bool) $object->active_checks_enabled && $this->hasPermission('monitoring/command/schedule-check')) {
|
||||
if ($object->getType() === $object::TYPE_SERVICE) {
|
||||
echo $this->qlink(
|
||||
$this->translate('Reschedule'),
|
||||
|
|
Loading…
Reference in New Issue