Display message on empty result sets

refs #10032
This commit is contained in:
Matthias Jentsch 2015-09-02 11:29:46 +02:00
parent 8f545dd0d6
commit fde51fe27b

View File

@ -98,7 +98,7 @@ use Icinga\Module\Monitoring\Object\Host;
</tbody> </tbody>
</table> </table>
<?php if (! $acknowledgements): ?> <?php if (! count($acknowledgements)): ?>
<?= $this->translate('No comments found matching the filter'); ?> <?= $this->translate('No comments found matching the filter'); ?>
<?php endif ?> <?php endif ?>
</div> </div>