mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 15:54:03 +02:00
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>
|
<tr>
|
||||||
<th><?= (bool) $object->active_checks_enabled ? $this->translate('Next check') : $this->translate('Next update') ?></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 ((bool) $object->active_checks_enabled && $this->hasPermission('monitoring/command/schedule-check')) {
|
||||||
if ($object->getType() === $object::TYPE_SERVICE) {
|
if ($object->getType() === $object::TYPE_SERVICE) {
|
||||||
echo $this->qlink(
|
echo $this->qlink(
|
||||||
$this->translate('Reschedule'),
|
$this->translate('Reschedule'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user