Improve layout of dictionaries in the host and service detail views

resolves #8474
This commit is contained in:
Alexander A. Klimov 2015-04-23 11:58:54 +02:00
parent 9cd7765d9e
commit 6ba6cb7940
2 changed files with 6 additions and 3 deletions

View File

@ -38,7 +38,7 @@ class Zend_View_Helper_Customvar extends Zend_View_Helper_Abstract
protected function renderObject($object) protected function renderObject($object)
{ {
if (empty($object)) { if (0 === count((array) $object)) {
return '{}'; return '{}';
} }
$out = "{<ul>\n"; $out = "{<ul>\n";

View File

@ -177,11 +177,14 @@ table.avp form.object-features div.header h4 {
margin: 0; margin: 0;
} }
table.avp .customvar ul { table.avp .customvar ul,
table.avp .customvar ul li {
list-style-type: none; list-style-type: none;
margin: 0; margin: 0;
margin-top: -0.5em;
margin-bottom: -0.5em;
padding: 0; padding: 0;
padding-left: 1.5em; padding-left: 0.5em;
} }
div.selection-info { div.selection-info {