* Deal the link of execution kanban at classic version.

This commit is contained in:
qiyu-xie
2021-07-14 10:22:00 +08:00
parent 21d3eaf3c1
commit 19af1f8d87
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -227,7 +227,7 @@ $lang->scrum->menu->settings['subMenu']->group = array('link' => "{$lang->
$lang->execution->homeMenu = new stdclass();
//if($config->systemMode == 'new') $lang->execution->homeMenu->index = "$lang->dashboard|execution|index|";
//$lang->execution->homeMenu->list = array('link' => "{$lang->execution->list}|execution|all|", 'alias' => 'create,batchedit');
$lang->execution->homeMenu->executionkanban = array('link' => "{$lang->execution->executionKanban}|execution|executionkanban|");
if($config->systemMode == 'new') $lang->execution->homeMenu->executionkanban = array('link' => "{$lang->execution->executionKanban}|execution|executionkanban|");
$lang->execution->menu = new stdclass();
$lang->execution->menu->task = array('link' => "{$lang->task->common}|execution|task|executionID=%s", 'subModule' => 'task,tree', 'alias' => 'importtask,importbug');
+1 -1
View File
@@ -539,7 +539,7 @@ class commonModel extends model
}
if($config->systemMode == 'classic' and $openApp == 'execution') $icon = zget($lang->navIcons, 'project', '');
$link = helper::createLink($currentModule, $currentMethod);
$link = ($openApp == 'execution' and ($config->systemMode == 'classic')) ? '' : 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>';