From a976d777b349421bde3e15ba0569dc9fbbbceb21 Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Thu, 23 Apr 2015 13:31:02 +0200 Subject: [PATCH] Show custom variables visually separated in the host and service detail views resolves #8966 --- .../views/scripts/show/components/customvars.phtml | 5 +++++ modules/monitoring/public/css/module.less | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/monitoring/application/views/scripts/show/components/customvars.phtml b/modules/monitoring/application/views/scripts/show/components/customvars.phtml index aa2e479e4..50b82dbef 100644 --- a/modules/monitoring/application/views/scripts/show/components/customvars.phtml +++ b/modules/monitoring/application/views/scripts/show/components/customvars.phtml @@ -1,3 +1,8 @@ + + +

translate('Custom variables') ?>

+ + customvars as $name => $value) { diff --git a/modules/monitoring/public/css/module.less b/modules/monitoring/public/css/module.less index 549328ef8..4cc68e18e 100644 --- a/modules/monitoring/public/css/module.less +++ b/modules/monitoring/public/css/module.less @@ -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; }