* Fix icon.

This commit is contained in:
Yagami
2021-04-08 15:13:52 +08:00
parent 1bdc854229
commit ba89a45150
+1
View File
@@ -551,6 +551,7 @@ class commonModel extends model
if($openApp == 'product') $currentMethod = 'all';
}
if($config->systemMode == 'classic' and $openApp == 'execution') $icon = zget($lang->navIcons, 'project', '');
$link = ($openApp != 'execution' or ($config->systemMode == 'classic')) ? helper::createLink($currentModule, $currentMethod) : '';
$html = $link ? html::a($link, "$icon {$lang->$openApp->common}", '', "class='btn'") : "$icon {$lang->$openApp->common}";