Open command forms in the same column where their link is located

refs 
This commit is contained in:
Johannes Meyer 2015-01-28 13:02:37 +01:00
parent 6fde4eec30
commit c19ff289bf
5 changed files with 5 additions and 5 deletions
modules/monitoring/application/views/scripts/show/components

View File

@ -35,7 +35,7 @@ if ($object->acknowledged): ?>
); );
} }
?> ?>
<a href="<?= $ackLink ?>"> <a href="<?= $ackLink ?>" data-base-target="_self">
<?= $this->icon('ok') ?> <?= $this->translate('Acknowledge') ?> <?= $this->icon('ok') ?> <?= $this->translate('Acknowledge') ?>
</a> </a>
<?php } else { <?php } else {

View File

@ -39,7 +39,7 @@ if ($object->getType() === $object::TYPE_HOST) {
); );
} }
?> ?>
<a href="<?= $reschedule ?>"> <a href="<?= $reschedule ?>" data-base-target="_self">
<?= $this->icon('reschedule') ?> <?= $this->icon('reschedule') ?>
<?= $this->translate('Reschedule') ?> <?= $this->translate('Reschedule') ?>
</a> </a>

View File

@ -21,7 +21,7 @@ $command = array_shift($parts);
array('host' => $object->getHost()->getName(), 'service' => $object->getName()) array('host' => $object->getHost()->getName(), 'service' => $object->getName())
); );
} ?> } ?>
<a href="<?= $processCheckResult ?>"> <a href="<?= $processCheckResult ?>" data-base-target="_self">
<?= $this->icon('reply') ?> <?= $this->icon('reply') ?>
<?= $this->translate('Process check result') ?> <?= $this->translate('Process check result') ?>
</a> </a>

View File

@ -15,7 +15,7 @@
); );
} }
?> ?>
<a href="<?= $addCommentLink ?>"> <a href="<?= $addCommentLink ?>" data-base-target="_self">
<?= $this->icon('comment') ?> <?= $this->icon('comment') ?>
<?= $this->translate('Add comment') ?> <?= $this->translate('Add comment') ?>
</a> </a>

View File

@ -15,7 +15,7 @@
); );
} }
?> ?>
<a href="<?= $scheduleDowntimeLink ?>"> <a href="<?= $scheduleDowntimeLink ?>" data-base-target="_self">
<?= $this->icon('plug') ?> <?= $this->icon('plug') ?>
<?= $this->translate('Schedule downtime') ?> <?= $this->translate('Schedule downtime') ?>
</a> </a>