* Code for finish task #83724.
This commit is contained in:
@@ -93,16 +93,23 @@ $lang->admin->menuList->feature['subMenu']['user'] = array('link' => "{$l
|
||||
|
||||
$lang->admin->menuList->feature['tabMenu']['my']['todo'] = array('link' => "{$lang->todo->common}|custom|set|module=todo&field=priList", 'exclude' => 'custom-set');
|
||||
$lang->admin->menuList->feature['tabMenu']['my']['block'] = array('link' => "{$lang->block->common}|custom|set|module=block&field=closed", 'exclude' => 'custom-set');
|
||||
if($config->vision == 'lite') $lang->admin->menuList->feature['tabMenu']['my']['task'] = array('link' => "{$lang->task->common}|custom|required|module=task", 'links' => array('custom|set|module=task&field=priList'), 'exclude' => 'custom-required');
|
||||
if($config->vision == 'lite') $lang->admin->menuList->feature['tabMenu']['my']['task'] = array('link' => "{$lang->task->common}|custom|required|module=task", 'links' => array('custom|set|module=task&field=priList'), 'exclude' => 'custom-required,custom-set');
|
||||
|
||||
$lang->admin->menuList->feature['tabMenu']['product']['product'] = array('link' => "{$lang->productCommon}|custom|required|module=product", 'links' => array("custom|browsestoryconcept|", 'custom|product|'), 'alias' => 'browsestoryconcept,product', 'exclude' => 'custom-required');
|
||||
$lang->admin->menuList->feature['tabMenu']['product']['story'] = array('link' => "{$lang->SRCommon}|custom|required|module=story", 'links' => array("custom|set|module=story&field=categoryList"), 'exclude' => 'custom-required');
|
||||
$lang->admin->menuList->feature['tabMenu']['product']['story'] = array('link' => "{$lang->SRCommon}|custom|required|module=story", 'links' => array("custom|set|module=story&field=categoryList"), 'exclude' => 'custom-required,custom-set');
|
||||
$lang->admin->menuList->feature['tabMenu']['product']['productplan'] = array('link' => "{$lang->productplan->shortCommon}|custom|required|module=productplan", 'exclude' => 'custom-required');
|
||||
$lang->admin->menuList->feature['tabMenu']['product']['release'] = array('link' => "{$lang->release->common}|custom|required|module=release", 'exclude' => 'custom-required');
|
||||
|
||||
$lang->admin->menuList->feature['tabMenu']['execution']['execution'] = array('link' => "{$lang->execution->common}|custom|execution|");
|
||||
$lang->admin->menuList->feature['tabMenu']['execution']['task'] = array('link' => "{$lang->task->common}|custom|required|module=task", 'links' => array('custom|set|module=task&field=priList'));
|
||||
|
||||
$lang->admin->menuList->feature['tabMenu']['qa']['bug'] = array('link' => "{$lang->bug->common}|custom|required|module=bug", 'links' => array("custom|set|module=bug&field=priList"), 'exclude' => 'custom-required,custom-set');
|
||||
$lang->admin->menuList->feature['tabMenu']['qa']['testcase'] = array('link' => "{$lang->testcase->common}|custom|required|module=testcase", 'links' => array("custom|set|module=testcase&field=priList"), 'exclude' => 'custom-required,custom-set');
|
||||
$lang->admin->menuList->feature['tabMenu']['qa']['testsuite'] = array('link' => "{$lang->testcase->testsuite}|custom|required|module=testsuite", 'exclude' => 'custom-required');
|
||||
$lang->admin->menuList->feature['tabMenu']['qa']['testtask'] = array('link' => "{$lang->testtask->common}|custom|required|module=testtask", 'links' => array('custom|set|module=testtask&field=statusList'), 'exclude' => 'custom-required,custom-set');
|
||||
$lang->admin->menuList->feature['tabMenu']['qa']['testreport'] = array('link' => "{$lang->testreport->common}|custom|required|module=testreport", 'exclude' => 'custom-required');
|
||||
$lang->admin->menuList->feature['tabMenu']['qa']['caselib'] = array('link' => "{$lang->testcase->caselib}|custom|required|module=caselib", 'exclude' => 'custom-required');
|
||||
|
||||
$lang->admin->menuList->feature['menuOrder']['5'] = 'my';
|
||||
$lang->admin->menuList->feature['menuOrder']['10'] = 'product';
|
||||
$lang->admin->menuList->feature['menuOrder']['15'] = 'execution';
|
||||
@@ -170,6 +177,6 @@ if($config->vision == 'lite')
|
||||
$lang->admin->menuList->feature['subMenu']['project'] = array('link' => "{$lang->projectCommon}|custom|execution|", 'exclude' => 'set,required', 'alias' => 'execution');
|
||||
$lang->admin->menuList->feature['tabMenu']['project']['project'] = array('link' => "{$lang->projectCommon}|custom|required|module=project", 'exclude' => 'custom-required');
|
||||
$lang->admin->menuList->feature['tabMenu']['project']['execution'] = array('link' => "{$lang->execution->common}|custom|execution|");
|
||||
$lang->admin->menuList->feature['tabMenu']['project']['story'] = array('link' => "{$lang->SRCommon}|custom|required|module=story", 'links' => array("custom|set|module=story&field=priList"), 'exclude' => 'custom-required');
|
||||
$lang->admin->menuList->feature['tabMenu']['project']['story'] = array('link' => "{$lang->SRCommon}|custom|required|module=story", 'links' => array("custom|set|module=story&field=priList"), 'exclude' => 'custom-required,custom-set');
|
||||
$lang->admin->menuList->feature['menuOrder']['15'] = 'project';
|
||||
}
|
||||
|
||||
@@ -283,6 +283,7 @@ class adminModel extends model
|
||||
if(strpos(',product,story,productplan,release,', ",$paramName,") !== false and $subMenuKey == 'product') $subModule = 'custom';
|
||||
if(strpos(',task,', ",$paramName,") !== false and $subMenuKey == 'execution') $subModule = 'custom';
|
||||
if(strpos(',project,story,', ",$paramName,") !== false and $subMenuKey == 'project') $subModule = 'custom';
|
||||
if(strpos(',bug,testcase,testsuite,testtask,testreport,caselib,', ",$paramName,") !== false and $subMenuKey == 'qa') $subModule = 'custom';
|
||||
if($this->config->vision == 'lite' and $paramName == 'task' and $subMenuKey == 'my') $subModule = 'custom';
|
||||
}
|
||||
|
||||
|
||||
@@ -106,6 +106,9 @@ $lang->custom->object['score'] = 'Score';
|
||||
$lang->custom->object['mode'] = 'Mode';
|
||||
$lang->custom->object['productplan'] = 'Plan';
|
||||
$lang->custom->object['release'] = 'Release';
|
||||
$lang->custom->object['testsuite'] = 'Test Suite';
|
||||
$lang->custom->object['testreport'] = 'Test Report';
|
||||
$lang->custom->object['caselib'] = 'Case Library';
|
||||
|
||||
$lang->custom->menuOrder[5] = 'project';
|
||||
$lang->custom->menuOrder[10] = 'product';
|
||||
@@ -159,6 +162,7 @@ $lang->custom->task->fields['reasonList'] = 'Close Reason';
|
||||
$lang->custom->task->fields['statusList'] = 'Status';
|
||||
|
||||
$lang->custom->bug = new stdClass();
|
||||
$lang->custom->bug->fields['required'] = $lang->custom->required;
|
||||
$lang->custom->bug->fields['priList'] = 'Priority';
|
||||
$lang->custom->bug->fields['severityList'] = 'Severity';
|
||||
$lang->custom->bug->fields['osList'] = 'OS';
|
||||
@@ -169,6 +173,7 @@ $lang->custom->bug->fields['statusList'] = 'Status';
|
||||
$lang->custom->bug->fields['longlife'] = 'Stalled Days';
|
||||
|
||||
$lang->custom->testcase = new stdClass();
|
||||
$lang->custom->testcase->fields['required'] = $lang->custom->required;
|
||||
$lang->custom->testcase->fields['priList'] = 'Priority';
|
||||
$lang->custom->testcase->fields['typeList'] = 'Type';
|
||||
$lang->custom->testcase->fields['stageList'] = 'Phase';
|
||||
@@ -177,10 +182,17 @@ $lang->custom->testcase->fields['statusList'] = 'Status';
|
||||
$lang->custom->testcase->fields['review'] = 'Review Required';
|
||||
|
||||
$lang->custom->testtask = new stdClass();
|
||||
$lang->custom->testtask->fields['required'] = $lang->custom->required;
|
||||
$lang->custom->testtask->fields['statusList'] = 'Status';
|
||||
$lang->custom->testtask->fields['typeList'] = 'Type';
|
||||
$lang->custom->testtask->fields['priList'] = 'Priority';
|
||||
|
||||
$lang->custom->testreport = new stdClass();
|
||||
$lang->custom->testreport->fields['required'] = $lang->custom->required;
|
||||
|
||||
$lang->custom->caselib = new stdClass();
|
||||
$lang->custom->caselib->fields['required'] = $lang->custom->required;
|
||||
|
||||
$lang->custom->todo = new stdClass();
|
||||
$lang->custom->todo->fields['priList'] = 'Priority';
|
||||
$lang->custom->todo->fields['typeList'] = 'Type';
|
||||
|
||||
@@ -106,6 +106,9 @@ $lang->custom->object['score'] = 'Score';
|
||||
$lang->custom->object['mode'] = 'Mode';
|
||||
$lang->custom->object['productplan'] = 'Plan';
|
||||
$lang->custom->object['release'] = 'Release';
|
||||
$lang->custom->object['testsuite'] = 'Test Suite';
|
||||
$lang->custom->object['testreport'] = 'Test Report';
|
||||
$lang->custom->object['caselib'] = 'Case Library';
|
||||
|
||||
$lang->custom->menuOrder[5] = 'project';
|
||||
$lang->custom->menuOrder[10] = 'product';
|
||||
@@ -159,6 +162,7 @@ $lang->custom->task->fields['reasonList'] = 'Close Reason';
|
||||
$lang->custom->task->fields['statusList'] = 'Status';
|
||||
|
||||
$lang->custom->bug = new stdClass();
|
||||
$lang->custom->bug->fields['required'] = $lang->custom->required;
|
||||
$lang->custom->bug->fields['priList'] = 'Priority';
|
||||
$lang->custom->bug->fields['severityList'] = 'Severity';
|
||||
$lang->custom->bug->fields['osList'] = 'OS';
|
||||
@@ -169,6 +173,7 @@ $lang->custom->bug->fields['statusList'] = 'Status';
|
||||
$lang->custom->bug->fields['longlife'] = 'Stalled Days';
|
||||
|
||||
$lang->custom->testcase = new stdClass();
|
||||
$lang->custom->testcase->fields['required'] = $lang->custom->required;
|
||||
$lang->custom->testcase->fields['priList'] = 'Priority';
|
||||
$lang->custom->testcase->fields['typeList'] = 'Type';
|
||||
$lang->custom->testcase->fields['stageList'] = 'Phase';
|
||||
@@ -177,10 +182,17 @@ $lang->custom->testcase->fields['statusList'] = 'Status';
|
||||
$lang->custom->testcase->fields['review'] = 'Need Review';
|
||||
|
||||
$lang->custom->testtask = new stdClass();
|
||||
$lang->custom->testtask->fields['required'] = $lang->custom->required;
|
||||
$lang->custom->testtask->fields['statusList'] = 'Status';
|
||||
$lang->custom->testtask->fields['typeList'] = 'Type';
|
||||
$lang->custom->testtask->fields['priList'] = 'Priority';
|
||||
|
||||
$lang->custom->testreport = new stdClass();
|
||||
$lang->custom->testreport->fields['required'] = $lang->custom->required;
|
||||
|
||||
$lang->custom->caselib = new stdClass();
|
||||
$lang->custom->caselib->fields['required'] = $lang->custom->required;
|
||||
|
||||
$lang->custom->todo = new stdClass();
|
||||
$lang->custom->todo->fields['priList'] = 'Priority';
|
||||
$lang->custom->todo->fields['typeList'] = 'Type';
|
||||
|
||||
@@ -106,6 +106,9 @@ $lang->custom->object['score'] = 'Score';
|
||||
$lang->custom->object['mode'] = 'Mode';
|
||||
$lang->custom->object['productplan'] = 'Plan';
|
||||
$lang->custom->object['release'] = 'Release';
|
||||
$lang->custom->object['testsuite'] = 'Test Suite';
|
||||
$lang->custom->object['testreport'] = 'Test Report';
|
||||
$lang->custom->object['caselib'] = 'Case Library';
|
||||
|
||||
$lang->custom->menuOrder[5] = 'project';
|
||||
$lang->custom->menuOrder[10] = 'product';
|
||||
@@ -159,6 +162,7 @@ $lang->custom->task->fields['reasonList'] = 'Raison Fermeture';
|
||||
$lang->custom->task->fields['statusList'] = 'Statut';
|
||||
|
||||
$lang->custom->bug = new stdClass();
|
||||
$lang->custom->bug->fields['required'] = $lang->custom->required;
|
||||
$lang->custom->bug->fields['priList'] = 'Priorité';
|
||||
$lang->custom->bug->fields['severityList'] = 'Sévérité';
|
||||
$lang->custom->bug->fields['osList'] = 'OS';
|
||||
@@ -169,6 +173,7 @@ $lang->custom->bug->fields['statusList'] = 'Statut';
|
||||
$lang->custom->bug->fields['longlife'] = 'Jours Calage';
|
||||
|
||||
$lang->custom->testcase = new stdClass();
|
||||
$lang->custom->testcase->fields['required'] = $lang->custom->required;
|
||||
$lang->custom->testcase->fields['priList'] = 'Priorité';
|
||||
$lang->custom->testcase->fields['typeList'] = 'Type';
|
||||
$lang->custom->testcase->fields['stageList'] = 'Phase';
|
||||
@@ -177,10 +182,17 @@ $lang->custom->testcase->fields['statusList'] = 'Statut';
|
||||
$lang->custom->testcase->fields['review'] = 'Validation Requise';
|
||||
|
||||
$lang->custom->testtask = new stdClass();
|
||||
$lang->custom->testtask->fields['required'] = $lang->custom->required;
|
||||
$lang->custom->testtask->fields['statusList'] = 'Statut';
|
||||
$lang->custom->testtask->fields['typeList'] = 'Type de test';
|
||||
$lang->custom->testtask->fields['priList'] = 'Priorité';
|
||||
|
||||
$lang->custom->testreport = new stdClass();
|
||||
$lang->custom->testreport->fields['required'] = $lang->custom->required;
|
||||
|
||||
$lang->custom->caselib = new stdClass();
|
||||
$lang->custom->caselib->fields['required'] = $lang->custom->required;
|
||||
|
||||
$lang->custom->todo = new stdClass();
|
||||
$lang->custom->todo->fields['priList'] = 'Priorité';
|
||||
$lang->custom->todo->fields['typeList'] = 'Type';
|
||||
|
||||
@@ -106,6 +106,9 @@ $lang->custom->object['score'] = '积分';
|
||||
$lang->custom->object['mode'] = '模式';
|
||||
$lang->custom->object['productplan'] = '计划';
|
||||
$lang->custom->object['release'] = '发布';
|
||||
$lang->custom->object['testsuite'] = '套件';
|
||||
$lang->custom->object['testreport'] = '测试报告';
|
||||
$lang->custom->object['caselib'] = '用例库';
|
||||
|
||||
$lang->custom->menuOrder[5] = 'project';
|
||||
$lang->custom->menuOrder[10] = 'product';
|
||||
@@ -159,6 +162,7 @@ $lang->custom->task->fields['reasonList'] = '关闭原因';
|
||||
$lang->custom->task->fields['statusList'] = '状态';
|
||||
|
||||
$lang->custom->bug = new stdClass();
|
||||
$lang->custom->bug->fields['required'] = $lang->custom->required;
|
||||
$lang->custom->bug->fields['priList'] = '优先级';
|
||||
$lang->custom->bug->fields['severityList'] = '严重程度';
|
||||
$lang->custom->bug->fields['osList'] = '操作系统';
|
||||
@@ -169,6 +173,7 @@ $lang->custom->bug->fields['statusList'] = '状态';
|
||||
$lang->custom->bug->fields['longlife'] = '久未处理天数';
|
||||
|
||||
$lang->custom->testcase = new stdClass();
|
||||
$lang->custom->testcase->fields['required'] = $lang->custom->required;
|
||||
$lang->custom->testcase->fields['priList'] = '优先级';
|
||||
$lang->custom->testcase->fields['typeList'] = '类型';
|
||||
$lang->custom->testcase->fields['stageList'] = '阶段';
|
||||
@@ -177,10 +182,17 @@ $lang->custom->testcase->fields['statusList'] = '状态';
|
||||
$lang->custom->testcase->fields['review'] = '评审流程';
|
||||
|
||||
$lang->custom->testtask = new stdClass();
|
||||
$lang->custom->testtask->fields['required'] = $lang->custom->required;
|
||||
$lang->custom->testtask->fields['statusList'] = '状态';
|
||||
$lang->custom->testtask->fields['typeList'] = '测试类型';
|
||||
$lang->custom->testtask->fields['priList'] = '优先级';
|
||||
|
||||
$lang->custom->testreport = new stdClass();
|
||||
$lang->custom->testreport->fields['required'] = $lang->custom->required;
|
||||
|
||||
$lang->custom->caselib = new stdClass();
|
||||
$lang->custom->caselib->fields['required'] = $lang->custom->required;
|
||||
|
||||
$lang->custom->todo = new stdClass();
|
||||
$lang->custom->todo->fields['priList'] = '优先级';
|
||||
$lang->custom->todo->fields['typeList'] = '类型';
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
?>
|
||||
<?php include $app->getModuleRoot() . 'common/view/header.html.php';?>
|
||||
<div id='mainContent' class='main-row'>
|
||||
<?php if(!in_array($module, array('productplan', 'release')) and ($module != 'project' or ($module == 'project' and $config->vision == 'rnd'))) include 'sidebar.html.php';?>
|
||||
<?php if(!in_array($module, array('productplan', 'release', 'testsuite', 'testreport', 'caselib')) and ($module != 'project' or ($module == 'project' and $config->vision == 'rnd'))) include 'sidebar.html.php';?>
|
||||
<div class='main-col main-content'>
|
||||
<form class="load-indicator main-form form-ajax" method='post'>
|
||||
<div class='main-header'>
|
||||
|
||||
Reference in New Issue
Block a user