mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 15:54:03 +02:00
monitoring/show/history: fix html on empty list
This view script used to render broken HTML on empty result
This commit is contained in:
parent
f75a4430a6
commit
532ab60b36
@ -38,12 +38,12 @@ $states = array(
|
||||
<?= $this->paginationControl($this->history, null, null, array('preserve' => $this->preserve)); ?>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<?php if($this->history->count() === 0): ?>
|
||||
<?= $this->translate('No History Available For This Object') ?>
|
||||
</div>
|
||||
<?php return; endif ?>
|
||||
|
||||
<div class="content">
|
||||
<table data-base-target="_next" class="action objecthistory">
|
||||
<tbody>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user