Show custom variables visually separated in the host and service detail views

resolves #8966
This commit is contained in:
Alexander A. Klimov 2015-04-23 13:31:02 +02:00
parent e4a9843021
commit a976d777b3
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
<tr class="newsection">
<td colspan="2">
<h4 class="customvar"><?= $this->translate('Custom variables') ?></h4>
</td>
</tr>
<?php
foreach ($object->customvars as $name => $value) {

View File

@ -173,7 +173,8 @@ form.instance-features span.description, form.object-features span.description {
}
}
table.avp form.object-features div.header h4 {
table.avp form.object-features div.header h4,
table.avp h4.customvar {
margin: 0;
}