state, array(0, 99))) { // Ignore this markup if the object is in a non-problem state or pending return; } if ($object->acknowledged): ?> acknowledgement; /** @var \Icinga\Module\Monitoring\Object\Acknowledgement $acknowledgement */ ?> translate('Acknowledged') ?> translate('Not acknowledged') ?> hasPermission('monitoring/command/acknowledge-problem')) { if ($object->getType() === $object::TYPE_HOST) { $ackLink = $this->href( 'monitoring/host/acknowledge-problem', array('host' => $object->getName()), null, array('class' => 'action-link') ); } else { $ackLink = $this->href( 'monitoring/service/acknowledge-problem', array('host' => $object->getHost()->getName(), 'service' => $object->getName()), null, array('class' => 'action-link') ); } ?> qlink( $this->translate('Acknowledge'), $ackLink, null, array( 'class' => 'action-link', 'data-base-target' => '_self', 'icon' => 'ok', 'title' => $this->translate( 'Acknowledge this problem, suppress all future notifications for it and tag it as being handled' ) ) ); ?>