diff --git a/modules/monitoring/application/views/scripts/show/components/checkstatistics.phtml b/modules/monitoring/application/views/scripts/show/components/checkstatistics.phtml
index ec0c2792a..7feab9339 100644
--- a/modules/monitoring/application/views/scripts/show/components/checkstatistics.phtml
+++ b/modules/monitoring/application/views/scripts/show/components/checkstatistics.phtml
@@ -28,23 +28,33 @@ if ($object->getType() === $object::TYPE_HOST) {
hasPermission('monitoring/command/schedule-check')) {
if ($isService) {
- $reschedule = $this->href(
+ echo $this->qlink(
+ $this->icon('reschedule') . ' ' . $this->translate('Reschedule'),
'monitoring/service/reschedule-check',
- array('host' => $object->getHost()->getName(), 'service' => $object->getName())
+ array('host' => $object->getHost()->getName(), 'service' => $object->getName()),
+ array(
+ 'data-base-target' => '_self',
+ 'title' => $this->translate(
+ 'Schedule the next active check at a different time than the current one'
+ )
+ ),
+ false
);
} else {
- $reschedule = $this->href(
+ echo $this->qlink(
+ $this->icon('reschedule') . ' ' . $this->translate('Reschedule'),
'monitoring/host/reschedule-check',
- array('host' => $object->getName())
+ array('host' => $object->getName()),
+ array(
+ 'data-base-target' => '_self',
+ 'title' => $this->translate(
+ 'Schedule the next active check at a different time than the current one'
+ )
+ ),
+ false
);
}
- ?>
-
- = $this->icon('reschedule') ?>
- = $this->translate('Reschedule') ?>
-
-
- = $this->timeUntil($object->next_check) ?>
+ } ?> = $this->timeUntil($object->next_check) ?>
|