mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-07 21:05:18 +02: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,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…
x
Reference in New Issue
Block a user