* Adjust the divider style.
This commit is contained in:
@@ -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);}
|
||||
|
||||
@@ -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'");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user