From f2278a737e41228ae07bebe143c6962ab97abf35 Mon Sep 17 00:00:00 2001 From: Hao Sun Date: Mon, 26 Jul 2021 11:38:26 +0800 Subject: [PATCH] * improve style of home button for app "devops". --- module/common/model.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/common/model.php b/module/common/model.php index 525876f09e..37d7afb21d 100644 --- a/module/common/model.php +++ b/module/common/model.php @@ -544,7 +544,8 @@ class commonModel extends model if($config->systemMode == 'classic' and $openApp == 'execution') $icon = zget($lang->navIcons, 'project', ''); $link = helper::createLink($currentModule, $currentMethod); - $html = $link ? html::a($link, "$icon {$lang->$openApp->common}", '', "class='btn'") : "$icon {$lang->$openApp->common}"; + $className = $openApp == 'devops' ? 'btn num' : 'btn'; + $html = $link ? html::a($link, "$icon {$lang->$openApp->common}", '', "class='$className'") : "$icon {$lang->$openApp->common}"; echo "
" . $html . '
'; }