mirror of
https://github.com/Icinga/icingaweb2.git
synced 2026-05-28 04:02:39 -04:00
detail-content: Use widget CustomVarTable to render custom vars
This commit is contained in:
parent
6085b02b16
commit
83e8b3b8e8
1 changed files with 3 additions and 6 deletions
|
|
@ -45,12 +45,9 @@
|
|||
|
||||
<?php if (! empty($object->customvars)): ?>
|
||||
<h2><?= $this->translate('Custom Variables') ?></h2>
|
||||
<table id="<?= $object->type ?>-customvars" class="name-value-table collapsible" data-visible-height="200">
|
||||
<tbody>
|
||||
<?= $this->render('show/components/customvars.phtml') ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<div id="<?= $object->type ?>-customvars" data-visible-height="200" class="collapsible">
|
||||
<?= (new \Icinga\Module\Monitoring\Web\Widget\CustomVarTable($object->customvarsWithOriginalNames, $object)) ?>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
|
||||
<?= $this->render('show/components/flags.phtml') ?>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue