monitoring: Rename $host_name to $hostName in the servicegrid view script
refs #9538
This commit is contained in:
parent
1741a4f10b
commit
d461270bf8
|
@ -23,7 +23,7 @@ if (count($pivotData) === 0) {
|
|||
$hostFilter = '(host_name=' . implode('|host_name=', array_keys($pivotData)) . ')';
|
||||
?>
|
||||
<table class="pivot servicestates">
|
||||
<?php foreach ($pivotData as $host_name => $serviceStates): ?>
|
||||
<?php foreach ($pivotData as $hostName => $serviceStates): ?>
|
||||
<?php if (!$hasHeader): ?>
|
||||
<thead>
|
||||
<tr>
|
||||
|
@ -66,10 +66,10 @@ foreach ($serviceDescriptions as $service_description): ?>
|
|||
<tr>
|
||||
<th>
|
||||
<?= $this->qlink(
|
||||
$host_name,
|
||||
$hostName,
|
||||
'monitoring/list/services?' . $serviceFilter,
|
||||
array('host' => $host_name),
|
||||
array('title' => sprintf($this->translate('List all reported services on host %s'), $host_name))
|
||||
array('host' => $hostName),
|
||||
array('title' => sprintf($this->translate('List all reported services on host %s'), $hostName))
|
||||
); ?>
|
||||
</th>
|
||||
<?php foreach (array_values($serviceStates) as $service): ?>
|
||||
|
|
Loading…
Reference in New Issue