• setAttrib('id', 'quickAction_' . $removeAckForm->getName()); // Avoids id duplication $removeAckForm->setLabelEnabled(true); echo $removeAckForm; ?>
  • hasPermission('monitoring/command/acknowledge-problem') && ! (in_array((int) $object->state, array(0, 99))) ): ?>
  • getType() === $object::TYPE_HOST) { echo $this->qlink( $this->translate('Acknowledge'), 'monitoring/host/acknowledge-problem', array('host' => $object->getName()), 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' ) ) ); } else { echo $this->qlink( $this->translate('Acknowledge'), 'monitoring/service/acknowledge-problem', array('host' => $object->getHost()->getName(), 'service' => $object->getName()), 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' ) ) ); } ?>
  • setAttrib('id', 'quickAction_' . $checkNowForm->getName()); // Avoids id duplication ?>
  • hasPermission('monitoring/command/comment/add')): ?>
  • getType() === $object::TYPE_HOST) { echo $this->qlink( $this->translate('Comment'), 'monitoring/host/add-comment', array('host' => $object->getName()), array( 'class' => 'action-link', 'data-base-target' => '_self', 'icon' => 'comment-empty', 'title' => $this->translate('Add a new comment to this host') ) ); } else { echo $this->qlink( $this->translate('Comment'), 'monitoring/service/add-comment', array('host' => $object->getHost()->getName(), 'service' => $object->getName()), array( 'class' => 'action-link', 'data-base-target' => '_self', 'icon' => 'comment-empty', 'title' => $this->translate('Add a new comment to this service') ) ); } ?>
  • hasPermission('monitoring/command/send-custom-notification')): ?>
  • getType() === $object::TYPE_HOST) { echo $this->qlink( $this->translate('Notification'), 'monitoring/host/send-custom-notification', array('host' => $object->getName()), array( 'class' => 'action-link', 'data-base-target' => '_self', 'icon' => 'bell', 'title' => $this->translate( 'Send a custom notification to contacts responsible for this host' ) ) ); } else { echo $this->qlink( $this->translate('Notification'), 'monitoring/service/send-custom-notification', array('host' => $object->getHost()->getName(), 'service' => $object->getName()), array( 'class' => 'action-link', 'data-base-target' => '_self', 'icon' => 'bell', 'title' => $this->translate( 'Send a custom notification to contacts responsible for this service' ) ) ); } ?>
  • hasPermission('monitoring/command/downtime/schedule')): ?>
  • getType() === $object::TYPE_HOST) { echo $this->qlink( $this->translate('Downtime'), 'monitoring/host/schedule-downtime', array('host' => $object->getName()), array( 'class' => 'action-link', 'data-base-target' => '_self', 'icon' => 'plug', 'title' => $this->translate( 'Schedule a downtime to suppress all problem notifications within a specific period of time' ) ) ); } else { echo $this->qlink( $this->translate('Downtime'), 'monitoring/service/schedule-downtime', array('host' => $object->getHost()->getName(), 'service' => $object->getName()), array( 'class' => 'action-link', 'data-base-target' => '_self', 'icon' => 'plug', 'title' => $this->translate( 'Schedule a downtime to suppress all problem notifications within a specific period of time' ) ) ); } ?>