diff --git a/module/bug/view/view.html.php b/module/bug/view/view.html.php index c29b5dd96c..ef08f4fd74 100644 --- a/module/bug/view/view.html.php +++ b/module/bug/view/view.html.php @@ -31,7 +31,7 @@
- product}&branch={$bug->branch}&extra=moduleID={$bug->module}", "" . $lang->bug->create, '', "class='btn btn-primary'"); ?> + product}&branch={$bug->branch}&extra=moduleID={$bug->module},projectID={$bug->project},executionID={$bug->execution}", "" . $lang->bug->create, '', "class='btn btn-primary'"); ?>
@@ -67,7 +67,7 @@
id"; - $copyParams = "productID=$productID&branch=$bug->branch&extras=bugID=$bug->id"; + $copyParams = "productID=$productID&branch=$bug->branch&extras=bugID=$bug->id,projectID={$bug->project},executionID={$bug->execution}"; $convertParams = "productID=$productID&branch=$bug->branch&moduleID=0&from=bug&bugID=$bug->id"; ?>
diff --git a/module/caselib/view/browse.html.php b/module/caselib/view/browse.html.php index b63964542c..ab7cd2412e 100644 --- a/module/caselib/view/browse.html.php +++ b/module/caselib/view/browse.html.php @@ -60,6 +60,7 @@ js::set('flow', $config->global->flow); " . $lang->caselib->exportTemplet, '', "class='btn btn-link export' data-width='35%'");?> " . $lang->testcase->fileImport, '', "class='btn btn-link export'");?>
+ createLink('caselib', 'create'), $lang->caselib->create, '', 'class="btn btn-secondary"');?>