Add hint in the grid if there are no active downtimes

This commit is contained in:
Alexander Fuhr 2014-11-13 14:18:19 +01:00
parent d0651e9e7f
commit dc1960184d
1 changed files with 2 additions and 2 deletions

View File

@ -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 ?>