* Finish task#36038.
This commit is contained in:
@@ -2295,6 +2295,7 @@ EOD;
|
||||
public static function setMainMenuByGroup($group, $moduleName, $methodName)
|
||||
{
|
||||
global $lang;
|
||||
global $config;
|
||||
if($group == 'my')
|
||||
{
|
||||
$lang->menu = $lang->my->menu;
|
||||
|
||||
@@ -79,7 +79,10 @@
|
||||
{
|
||||
return 'system';
|
||||
}
|
||||
|
||||
if(['caselib', 'testreport', 'testsuite', 'testtask', 'testcase', 'bug', 'qa'].includes(moduleName))
|
||||
{
|
||||
return link.prj ? 'project' : 'qa';
|
||||
}
|
||||
if(moduleName === 'report')
|
||||
{
|
||||
if(['usereport', 'editreport', 'deletereport', 'custom'].includes(methodLowerCase) && link.params.from)
|
||||
|
||||
Reference in New Issue
Block a user