mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 08:14:03 +02:00
Revert "Adjust command links so that they'll use `service_description'"
This reverts commit cee189a5fc2b94173eda5587ab5a5ce4125a06d0. Conflicts: modules/monitoring/application/views/scripts/list/comments.phtml modules/monitoring/application/views/scripts/list/downtimes.phtml
This commit is contained in:
parent
cc573c1b3f
commit
9bbb23ae7d
@ -92,7 +92,7 @@ if (count($comments) === 0) {
|
|||||||
} else {
|
} else {
|
||||||
$delCommentForm->setAction($this->url('monitoring/service/delete-comment', array(
|
$delCommentForm->setAction($this->url('monitoring/service/delete-comment', array(
|
||||||
'host_name' => $comment->host_name,
|
'host_name' => $comment->host_name,
|
||||||
'service_description' => $comment->service_description
|
'service' => $comment->service_description
|
||||||
)));
|
)));
|
||||||
}
|
}
|
||||||
echo $delCommentForm;
|
echo $delCommentForm;
|
||||||
|
@ -118,7 +118,7 @@ if (count($downtimes) === 0) {
|
|||||||
} else {
|
} else {
|
||||||
$delDowntimeForm->setAction($this->url('monitoring/service/delete-downtime', array(
|
$delDowntimeForm->setAction($this->url('monitoring/service/delete-downtime', array(
|
||||||
'host_name' => $downtime->host_name,
|
'host_name' => $downtime->host_name,
|
||||||
'service_description' => $downtime->service_description
|
'service' => $downtime->service_description
|
||||||
)));
|
)));
|
||||||
}
|
}
|
||||||
echo $delDowntimeForm;
|
echo $delDowntimeForm;
|
||||||
|
@ -31,7 +31,7 @@ if ($object->acknowledged): ?>
|
|||||||
} else {
|
} else {
|
||||||
$ackLink = $this->href(
|
$ackLink = $this->href(
|
||||||
'monitoring/service/acknowledge-problem',
|
'monitoring/service/acknowledge-problem',
|
||||||
array('host_name' => $object->getHost()->getName(), 'service_description' => $object->getName())
|
array('host_name' => $object->getHost()->getName(), 'service' => $object->getName())
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
@ -31,7 +31,7 @@ if ($object->getType() === $object::TYPE_HOST) {
|
|||||||
echo $this->qlink(
|
echo $this->qlink(
|
||||||
$this->translate('Reschedule'),
|
$this->translate('Reschedule'),
|
||||||
'monitoring/service/reschedule-check',
|
'monitoring/service/reschedule-check',
|
||||||
array('host_name' => $object->getHost()->getName(), 'service_description' => $object->getName()),
|
array('host_name' => $object->getHost()->getName(), 'service' => $object->getName()),
|
||||||
array(
|
array(
|
||||||
'icon' => 'reschedule',
|
'icon' => 'reschedule',
|
||||||
'data-base-target' => '_self',
|
'data-base-target' => '_self',
|
||||||
|
@ -26,7 +26,7 @@ $command = array_shift($parts);
|
|||||||
echo $this->qlink(
|
echo $this->qlink(
|
||||||
$this->translate('Process check result'),
|
$this->translate('Process check result'),
|
||||||
'monitoring/service/process-check-result',
|
'monitoring/service/process-check-result',
|
||||||
array('host_name' => $object->getHost()->getName(), 'service_description' => $object->getName()),
|
array('host_name' => $object->getHost()->getName(), 'service' => $object->getName()),
|
||||||
array(
|
array(
|
||||||
'icon' => 'reply',
|
'icon' => 'reply',
|
||||||
'data-base-target' => '_self',
|
'data-base-target' => '_self',
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
echo $this->qlink(
|
echo $this->qlink(
|
||||||
$this->translate('Add comment'),
|
$this->translate('Add comment'),
|
||||||
'monitoring/service/add-comment',
|
'monitoring/service/add-comment',
|
||||||
array('host_name' => $object->getHost()->getName(), 'service_description' => $object->getName()),
|
array('host_name' => $object->getHost()->getName(), 'service' => $object->getName()),
|
||||||
array(
|
array(
|
||||||
'icon' => 'comment',
|
'icon' => 'comment',
|
||||||
'data-base-target' => '_self',
|
'data-base-target' => '_self',
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
echo $this->qlink(
|
echo $this->qlink(
|
||||||
$this->translate('Schedule downtime'),
|
$this->translate('Schedule downtime'),
|
||||||
'monitoring/service/schedule-downtime',
|
'monitoring/service/schedule-downtime',
|
||||||
array('host_name' => $object->getHost()->getName(), 'service_description' => $object->getName()),
|
array('host_name' => $object->getHost()->getName(), 'service' => $object->getName()),
|
||||||
array(
|
array(
|
||||||
'icon' => 'plug',
|
'icon' => 'plug',
|
||||||
'data-base-target' => '_self',
|
'data-base-target' => '_self',
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
} else {
|
} else {
|
||||||
$ackLink = $this->href(
|
$ackLink = $this->href(
|
||||||
'monitoring/service/send-custom-notification',
|
'monitoring/service/send-custom-notification',
|
||||||
array('host_name' => $object->getHost()->getName(), 'service_description' => $object->getName())
|
array('host_name' => $object->getHost()->getName(), 'service' => $object->getName())
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user