mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 08:14:03 +02:00
tactical: Avoid displaying weird empty donuts if nothing is found
refs #3334
This commit is contained in:
parent
3606e5a514
commit
d5686d4a18
@ -5,6 +5,10 @@
|
|||||||
</div>
|
</div>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<div class="content tactical grid">
|
<div class="content tactical grid">
|
||||||
|
<?php if (! count(array_filter((array) $statusSummary))): ?>
|
||||||
|
<p><?= $this->translate('No results found matching the filter.') ?></p>
|
||||||
|
</div>
|
||||||
|
<?php return; endif ?>
|
||||||
<div class="boxview" data-base-target="_next">
|
<div class="boxview" data-base-target="_next">
|
||||||
<div class="donut-container">
|
<div class="donut-container">
|
||||||
<h2><?= $this->translate('Host Summary') ?></h2>
|
<h2><?= $this->translate('Host Summary') ?></h2>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user