Merge pull request #4152 from Icinga/feature/show-customvar-names-as-is-3987

Show customvar names as-is
This commit is contained in:
Johannes Meyer 2020-05-13 15:14:42 +02:00 committed by GitHub
commit 539e88c553
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<?php foreach ($object->customvars as $name => $value): ?>
<tr>
<th><?= $this->escape(ucwords(str_replace('_', ' ', strtolower($name)))) ?></th>
<th><?= $this->escape($name) ?></th>
<td class="custom-variables"><?= $this->customvar($value) ?></td>
</tr>
<?php endforeach ?>