diff --git a/module/custom/css/common.css b/module/custom/css/common.css index 7c70d37c02..3c3233d59e 100644 --- a/module/custom/css/common.css +++ b/module/custom/css/common.css @@ -1 +1,2 @@ .alert-block {border-top: 1px solid #ddd;} +.btn-toolbar.pull-left .divider {margin-left: 0px; border-color: rgba(0,0,0,.2);} diff --git a/module/custom/view/header.html.php b/module/custom/view/header.html.php index 6d42524884..096d1baaaa 100644 --- a/module/custom/view/header.html.php +++ b/module/custom/view/header.html.php @@ -4,7 +4,7 @@ custom->object as $object => $name) { - if(strpos('story|todo|block', $object) !== false) echo ""; + if(strpos('story|todo|block', $object) !== false and count($lang->custom->object) > 1) echo ""; if(strpos('execution|product', $object) !== false) common::printLink('custom', $object, "", "{$lang->custom->$object}", '', "class='btn btn-link' id='{$object}Tab'"); if(strpos('execution|product', $object) === false) common::printLink('custom', 'set', "module=$object&field=" . key($lang->custom->{$object}->fields), "{$name}", '', "class='btn btn-link' id='{$object}Tab'"); }