mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 23:04:51 +02:00
detail-content: Use widget CustomVarTable
to render custom vars
This commit is contained in:
parent
6085b02b16
commit
83e8b3b8e8
@ -45,12 +45,9 @@
|
|||||||
|
|
||||||
<?php if (! empty($object->customvars)): ?>
|
<?php if (! empty($object->customvars)): ?>
|
||||||
<h2><?= $this->translate('Custom Variables') ?></h2>
|
<h2><?= $this->translate('Custom Variables') ?></h2>
|
||||||
<table id="<?= $object->type ?>-customvars" class="name-value-table collapsible" data-visible-height="200">
|
<div id="<?= $object->type ?>-customvars" data-visible-height="200" class="collapsible">
|
||||||
<tbody>
|
<?= (new \Icinga\Module\Monitoring\Web\Widget\CustomVarTable($object->customvarsWithOriginalNames, $object)) ?>
|
||||||
<?= $this->render('show/components/customvars.phtml') ?>
|
</div>
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
<?= $this->render('show/components/flags.phtml') ?>
|
<?= $this->render('show/components/flags.phtml') ?>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user