* Change font for devops text and bi text.
This commit is contained in:
@@ -43,7 +43,7 @@ class heading extends wg
|
||||
(
|
||||
set::url($url),
|
||||
set::hint($lang->$tab->common),
|
||||
$tab == 'devops' ? setClass('num') : null,
|
||||
($tab == 'devops' || $tab == 'bi') ? setClass('font-brand') : null,
|
||||
set::icon($icon),
|
||||
set::text($lang->$tab->common)
|
||||
);
|
||||
|
||||
@@ -654,7 +654,7 @@ function initAppsMenu(items)
|
||||
item.icon = ($link.find('.icon').attr('class') || '').replace('icon ', '');
|
||||
item.text = $link.text().trim();
|
||||
$link.html('<i class="icon ' + item.icon + '"></i><span class="text">' + item.text + '</span>');
|
||||
if(item.code === 'devops') $link.find('.text').addClass('num');
|
||||
if(item.code === 'devops' || item.code === 'bi') $link.find('.text').addClass('font-brand');
|
||||
apps.map[item.code] = item;
|
||||
|
||||
$('<li></li>').attr('data-app', item.code)
|
||||
|
||||
Reference in New Issue
Block a user