2013-10-18 11:05:51 +02:00
|
|
|
<div>
|
2013-10-15 17:52:30 +02:00
|
|
|
<div class="panel-heading">
|
2013-10-18 11:05:51 +02:00
|
|
|
<span> <b> Comments </b> </span>
|
2013-10-23 12:58:15 +02:00
|
|
|
<div class="pull-right">
|
|
|
|
<a rel="tooltip" title="Create new comments for all selected hosts or services" href="<?=
|
|
|
|
$this->href(
|
|
|
|
'monitoring/command/addcomment',
|
|
|
|
$this->target
|
|
|
|
);
|
|
|
|
?>" class="btn-common btn-small button">
|
2014-03-07 10:41:59 +01:00
|
|
|
<?= $this->icon('comment.png') ?>
|
2013-10-23 12:58:15 +02:00
|
|
|
</a>
|
|
|
|
|
|
|
|
<a rel="tooltip" title="Send custom notifications for all selected hosts or services" href="<?=
|
|
|
|
$this->href(
|
|
|
|
'monitoring/command/sendcustomnotification',
|
|
|
|
$this->target
|
|
|
|
);
|
|
|
|
?>" class="btn-common btn-small button">
|
2014-03-07 10:41:59 +01:00
|
|
|
<?= $this->icon('notification.png') ?>"></i>
|
2013-10-23 12:58:15 +02:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
|
2013-10-15 17:52:30 +02:00
|
|
|
</div>
|
2013-10-18 11:05:51 +02:00
|
|
|
<hr class="separator">
|
2013-10-15 17:52:30 +02:00
|
|
|
<div class="panel-body">
|
2013-10-18 09:59:06 +02:00
|
|
|
|
|
|
|
<div class="panel-row">
|
|
|
|
<?php if (count($comments) > 0) { ?>
|
|
|
|
<a href=" <?=
|
|
|
|
$this->href(
|
|
|
|
'monitoring/list/comments',
|
|
|
|
array(
|
|
|
|
'comment_id' => implode(',', $this->comments)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
?>">
|
2013-10-23 12:58:15 +02:00
|
|
|
There are <?= count($comments);?> comments assigned to the selected items.
|
2013-10-18 09:59:06 +02:00
|
|
|
</a>
|
|
|
|
<a href="<?=
|
|
|
|
$this->href(
|
|
|
|
'monitoring/command/removecomment',
|
|
|
|
$this->target
|
|
|
|
);
|
|
|
|
?>" class="button btn-common btn-small input-sm pull-right">
|
2014-03-07 10:41:59 +01:00
|
|
|
<?= $this->icon('remove.png') ?>"></i>
|
2013-10-18 09:59:06 +02:00
|
|
|
</a>
|
|
|
|
<?php } else { ?>
|
2013-10-23 12:58:15 +02:00
|
|
|
There are 0 comments assigned to the selected items.
|
2013-10-18 09:59:06 +02:00
|
|
|
<?php } ?>
|
|
|
|
</div>
|
2013-10-23 12:58:15 +02:00
|
|
|
<a rel="tooltip" title="Delay the noficiations on all selected hosts or services" href="<?=
|
2013-10-18 09:59:06 +02:00
|
|
|
$this->href(
|
|
|
|
'monitoring/command/delaynotification',
|
|
|
|
$this->target
|
|
|
|
);
|
2013-10-23 12:58:15 +02:00
|
|
|
?>" class="button btn-cta btn-common btn-half-wide">
|
2013-10-18 09:59:06 +02:00
|
|
|
Delay Notifications
|
|
|
|
</a>
|
2013-10-15 17:52:30 +02:00
|
|
|
</div>
|
|
|
|
</div>
|