* Finish task#40008.

This commit is contained in:
qiyu-xie
2021-07-08 10:14:23 +08:00
parent cb4fd5ffb1
commit ccc8c97aaa
4 changed files with 17 additions and 5 deletions
+2 -2
View File
@@ -543,7 +543,7 @@ class commonModel extends model
{
$nav = $lang->mainNav->$openApp;
list($title, $currentModule, $currentMethod, $vars) = explode('|', $nav);
if($openApp == 'execution') $currentMethod = 'all';
if($openApp == 'execution') $currentMethod = 'executionKanban';
}
else
{
@@ -553,7 +553,7 @@ class commonModel extends model
}
if($config->systemMode == 'classic' and $openApp == 'execution') $icon = zget($lang->navIcons, 'project', '');
$link = ($openApp != 'execution' or ($config->systemMode == 'classic')) ? helper::createLink($currentModule, $currentMethod) : '';
$link = helper::createLink($currentModule, $currentMethod);
$html = $link ? html::a($link, "$icon {$lang->$openApp->common}", '', "class='btn'") : "$icon {$lang->$openApp->common}";
echo "<div class='btn-group header-btn'>" . $html . '</div>';