state, array(0, 99))) { // Ignore this markup if the object is in a non-problem state or pending return; } if ($object->acknowledged): $acknowledgement = $object->acknowledgement; /** @var \Icinga\Module\Monitoring\Object\Acknowledgement $acknowledgement */ ?> translate('Acknowledged') ?>
escape($acknowledgement->getAuthor()) ?> translate('acknowledged') ?> timeAgo($acknowledgement->getEntryTime()) ?> expires()): ?> translate('Expires %s'), $this->timeUntil($acknowledgement->getExpirationTime()) ) ?> getSticky()): ?> icon('pin', sprintf( $this->translate( 'Acknowledgement remains until the %1$s recovers even if the %1$s changes state' ), $object->getType(true) )) ?> setAttrib('class', $removeAckForm->getAttrib('class') . ' remove-action'); echo $removeAckForm; } ?>
nl2br($this->createTicketLinks($this->markdown($acknowledgement->getComment()))) ?>
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' => 'edit', 'title' => $this->translate( 'Acknowledge this problem, suppress all future notifications for it and tag it as being handled' ) ) ) ?>