mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 00:04:04 +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)); ?>
|
<?= $this->paginationControl($this->history, null, null, array('preserve' => $this->preserve)); ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
<?php if($this->history->count() === 0): ?>
|
<?php if($this->history->count() === 0): ?>
|
||||||
<?= $this->translate('No History Available For This Object') ?>
|
<?= $this->translate('No History Available For This Object') ?>
|
||||||
</div>
|
</div>
|
||||||
<?php return; endif ?>
|
<?php return; endif ?>
|
||||||
|
|
||||||
<div class="content">
|
|
||||||
<table data-base-target="_next" class="action objecthistory">
|
<table data-base-target="_next" class="action objecthistory">
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user