Skip to content

Commit

Permalink
Show custom variables visually separated in the host and service deta…
Browse files Browse the repository at this point in the history
…il views

resolves #8966
  • Loading branch information
Al2Klimov committed Apr 23, 2015
1 parent e4a9843 commit a976d77
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
@@ -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) {
Expand Down
3 changes: 2 additions & 1 deletion modules/monitoring/public/css/module.less
Expand Up @@ -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;
}

Expand Down

0 comments on commit a976d77

Please sign in to comment.