* Adjust the divider style.

This commit is contained in:
hufangzhou
2021-03-11 16:18:03 +08:00
parent 1d40d2ecf4
commit 1e4b9124a9
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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);}
+1 -1
View File
@@ -4,7 +4,7 @@
<?php
foreach($lang->custom->object as $object => $name)
{
if(strpos('story|todo|block', $object) !== false) echo "<span class='divider'></span>";
if(strpos('story|todo|block', $object) !== false and count($lang->custom->object) > 1) echo "<span class='divider'></span>";
if(strpos('execution|product', $object) !== false) common::printLink('custom', $object, "", "<span class='text'>{$lang->custom->$object}</span>", '', "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), "<span class='text'>{$name}</span>", '', "class='btn btn-link' id='{$object}Tab'");
}