Fix hosts without services being displayed in the servicematrix
refs #4180
This commit is contained in:
parent
c73928d7a8
commit
0227c6a49d
|
@ -30,6 +30,7 @@
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php $hasHeader = true; ?>
|
<?php $hasHeader = true; ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
<?php if (count(array_filter(array_values($serviceStates)))): ?>
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
<a href="<?= $this->href('monitoring/show/host', array('host' => $host_name)); ?>">
|
<a href="<?= $this->href('monitoring/show/host', array('host' => $host_name)); ?>">
|
||||||
|
@ -53,6 +54,7 @@
|
||||||
</td>
|
</td>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
</tr>
|
</tr>
|
||||||
|
<?php endif ?>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
Loading…
Reference in New Issue