Add hint in the grid if there are no active downtimes
This commit is contained in:
parent
d0651e9e7f
commit
dc1960184d
|
@ -14,8 +14,8 @@
|
|||
|
||||
<div class="content">
|
||||
<?= $this->filterEditor ?>
|
||||
<?php if (empty($downtimes)): ?>
|
||||
<?= $this->translate('No downtimes matching the filter'); ?>
|
||||
<?php if (count($downtimes) === 0): ?>
|
||||
<?= $this->translate('No active downtimes'); ?>
|
||||
</div>
|
||||
<?php return; endif ?>
|
||||
|
||||
|
|
Loading…
Reference in New Issue