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…
Reference in New Issue