From ac4fd7be506fbf204671548c27e0071855e26b3f Mon Sep 17 00:00:00 2001 From: zhujinyong Date: Thu, 25 Mar 2021 11:15:11 +0800 Subject: [PATCH] * Fix bug of project. --- module/common/lang/menu.php | 2 +- module/project/view/bug.html.php | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/module/common/lang/menu.php b/module/common/lang/menu.php index a1d3311243..d22e667b88 100644 --- a/module/common/lang/menu.php +++ b/module/common/lang/menu.php @@ -294,7 +294,7 @@ $lang->execution->menu->view['subMenu']->tree = "$lang->treeView|execution| $lang->execution->menu->qa['subMenu'] = new stdclass(); $lang->execution->menu->qa['subMenu']->qa = array('link' => "$lang->dashboard|execution|qa|executionID=%s"); -$lang->execution->menu->qa['subMenu']->bug = array('link' => "{$lang->bug->common}|execution|bug|executionID=%s"); +$lang->execution->menu->qa['subMenu']->bug = array('link' => "{$lang->bug->common}|execution|bug|executionID=%s", 'subModule' => 'bug'); $lang->execution->menu->qa['subMenu']->testcase = array('link' => "{$lang->testcase->shortCommon}|execution|testcase|executionID=%s", 'alias' => 'create'); $lang->execution->menu->qa['subMenu']->testtask = array('link' => "{$lang->testtask->common}|execution|testtask|executionID=%s", 'subModule' => 'testtask,testreport'); // $lang->execution->menu->qa['subMenu']->testreport = array('link' => "$lang->project->report|testreport|browse|exeutionID=%s&type=execution"); diff --git a/module/project/view/bug.html.php b/module/project/view/bug.html.php index 7ab72ea2e0..f8ce2915f3 100644 --- a/module/project/view/bug.html.php +++ b/module/project/view/bug.html.php @@ -32,7 +32,7 @@

bug->noBug;?> - createLink('bug', 'create', "productID=$productID&branch=$branchID&extra=projectID=$project->id"), " " . $lang->bug->create, '', "class='btn btn-info'");?> + createLink('bug', 'create', "productID=$productID&branch=$branchID&extra=projectID=$project->id"), " " . $lang->bug->create, '', "class='btn btn-info' data-app='project'");?>

@@ -51,12 +51,12 @@ idAB);?> - bug->severityAB);?> - priAB);?> - bug->title);?> - openedByAB);?> - assignedToAB);?> - bug->resolvedBy);?> + bug->severityAB);?> + priAB);?> + bug->title);?> + openedByAB);?> + assignedToAB);?> + bug->resolvedBy);?> bug->resolutionAB);?> actions;?>