parent
266e781a93
commit
95a83a41bd
|
@ -39,6 +39,7 @@ class Monitoring_HostsController extends Controller
|
|||
'icon' => 'host'
|
||||
)
|
||||
)->activate('show');
|
||||
$this->view->listAllLink = Url::fromRequest()->setPath('monitoring/list/hosts');
|
||||
}
|
||||
|
||||
protected function handleCommandForm(ObjectsCommandForm $form)
|
||||
|
@ -125,8 +126,8 @@ class Monitoring_HostsController extends Controller
|
|||
->handleRequest();
|
||||
$this->view->removeAckForm = $removeAckForm;
|
||||
}
|
||||
|
||||
$this->setAutorefreshInterval(15);
|
||||
$this->view->listAllLink = Url::fromRequest()->setPath('monitoring/list/hosts');
|
||||
$this->view->rescheduleAllLink = Url::fromRequest()->setPath('monitoring/hosts/reschedule-check');
|
||||
$this->view->downtimeAllLink = Url::fromRequest()->setPath('monitoring/hosts/schedule-downtime');
|
||||
$this->view->processCheckResultAllLink = Url::fromRequest()->setPath('monitoring/hosts/process-check-result');
|
||||
|
|
|
@ -72,7 +72,12 @@ $hiddenRich = array();
|
|||
<td class="state">
|
||||
<div data-title-rich="<span align='left'><?= join('<br>', $hiddenRich) ?></span>"
|
||||
title="<?= join(', ', $hidden) ?>">
|
||||
<?= sprintf($this->translate('%d more ...'), count($hidden)) ?>
|
||||
|
||||
<?= $this->qlink(
|
||||
sprintf($this->translate('%d more ...'), count($hidden)),
|
||||
$listAllLink,
|
||||
null
|
||||
) ?>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -74,7 +74,12 @@ use Icinga\Module\Monitoring\Object\Service;
|
|||
<td class="state">
|
||||
<div data-title-rich="<span align='left'><?= join('<br>', $hiddenRich) ?></span>"
|
||||
title="<?= join(', ', $hidden) ?>">
|
||||
<?= sprintf($this->translate('%d more ...'), count($hidden)) ?>
|
||||
|
||||
<?= $this->qlink(
|
||||
sprintf($this->translate('%d more ...'), count($hidden)),
|
||||
$listAllLink,
|
||||
null
|
||||
) ?>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in New Issue