monitoring: Re-add click action in the host and service overview
refs #5543
This commit is contained in:
parent
301b0a8cc9
commit
5d95229d5b
|
@ -30,7 +30,7 @@ if (! $this->compact): ?>
|
|||
<?php foreach($hosts as $host):
|
||||
$hostStateName = Host::getStateText($host->host_state);
|
||||
$hostLink = $this->href('monitoring/host/show', array('host' => $host->host_name)); ?>
|
||||
<tr>
|
||||
<tr href="<?= $hostLink ?>">
|
||||
<td class="state-col state-<?= $hostStateName ?><?= $host->host_handled ? ' handled' : '' ?>">
|
||||
<p>
|
||||
<span class="state-label"><?= Host::getStateText($host->host_state, true) ?></span>
|
||||
|
|
|
@ -43,7 +43,7 @@ if (! $this->compact): ?>
|
|||
)
|
||||
);
|
||||
$serviceStateName = Service::getStateText($service->service_state); ?>
|
||||
<tr>
|
||||
<tr href="<?= $serviceLink ?>">
|
||||
<td class="state-col state-<?= $serviceStateName ?><?= $service->service_handled ? ' handled' : '' ?>">
|
||||
<p>
|
||||
<span class="state-label"><?= Service::getStateText($service->service_state, true) ?></span>
|
||||
|
|
Loading…
Reference in New Issue