* code for task#48889.

This commit is contained in:
tanghucheng
2022-02-16 11:21:07 +08:00
parent 220c0a09c3
commit 0cbd84fdf2
2 changed files with 2 additions and 2 deletions
@@ -11,7 +11,6 @@ $lang->mainNav->project = "{$lang->navIcons['project']} {$lang->project->commo
$lang->mainNav->execution = "{$lang->navIcons['execution']} {$lang->execution->common}|$executionModule|$executionMethod|";
$lang->mainNav->kanban = "{$lang->navIcons['kanban']} {$lang->kanban->common}|kanban|space|";
$lang->mainNav->doc = "{$lang->navIcons['doc']} {$lang->doc->common}|doc|index|";
$lang->mainNav->report = "{$lang->navIcons['report']} {$lang->report->common}|report|productSummary|";
$lang->mainNav->system = "{$lang->navIcons['system']} {$lang->system->common}|my|team|";
$lang->mainNav->admin = "{$lang->navIcons['admin']} {$lang->admin->common}|admin|index|";
+2 -1
View File
@@ -28,7 +28,8 @@ public function setMenu($executionID, $buildID = 0, $extra = '')
$modulePageNav .= '<li>' . html::a(helper::createLink('execution', $this->app->rawMethod, "execution=$kanban->id"), $kanban->name) . '</li>';
}
$modulePageNav .= "</ul></div></div>";
if($this->app->rawMethod != 'kanban') $this->lang->TRActions = $this->getTRActions($this->app->rawMethod);
if(in_array($this->app->rawMethod, array('task', 'calendar', 'gantt', 'tree', 'grouptask'))) $this->lang->TRActions = $this->getTRActions($this->app->rawMethod);
$this->lang->modulePageNav = $modulePageNav;
}