* Change one vision btn style.
This commit is contained in:
@@ -92,7 +92,14 @@ class header extends wg
|
||||
/* The standalone lite version removes the lite interface button */
|
||||
if(trim($config->visions, ',') == 'lite') return true;
|
||||
|
||||
if(count($userVisions) < 2 || count($configVisions) < 2) return btn($lang->visionList[$currentVision]);
|
||||
if(count($userVisions) < 2 || count($configVisions) < 2)
|
||||
{
|
||||
return btn
|
||||
(
|
||||
setClass('secondary ring-0 rounded'),
|
||||
$lang->visionList[$currentVision]
|
||||
);
|
||||
}
|
||||
|
||||
$items = array();
|
||||
foreach($userVisions as $vision)
|
||||
|
||||
Reference in New Issue
Block a user