mirror of
https://github.com/Icinga/icingaweb2.git
synced 2026-06-09 08:34:04 -04:00
customvars.phtml: Show a customvar name as-is
Don't uppercase first, exchange `_` for spaces and lower everything else resolves #3987
This commit is contained in:
parent
cd2ff3d925
commit
87e676e1fb
1 changed files with 1 additions and 1 deletions
|
|
@ -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 ?>
|
||||
|
|
|
|||
Loading…
Reference in a new issue