diff --git a/module/bug/view/view.html.php b/module/bug/view/view.html.php index a9f749418d..0c845cc9eb 100644 --- a/module/bug/view/view.html.php +++ b/module/bug/view/view.html.php @@ -27,6 +27,9 @@ +
+ product}&branch={$bug->branch}&extra=moduleID={$bug->module}", "" . $lang->bug->create, '', "class='btn btn-primary'"); ?> +
diff --git a/module/story/view/view.html.php b/module/story/view/view.html.php index c2056d2b03..940d4c1200 100644 --- a/module/story/view/view.html.php +++ b/module/story/view/view.html.php @@ -41,6 +41,9 @@
+
+ product}&branch={$story->branch}&moduleID={$story->module}", "" . $lang->story->create, '', "class='btn btn-primary'"); ?> +
diff --git a/module/task/view/view.html.php b/module/task/view/view.html.php index 6a786ffdc1..98368ec0bf 100644 --- a/module/task/view/view.html.php +++ b/module/task/view/view.html.php @@ -34,6 +34,14 @@
+
+ project = $task->project; + $link = $this->createLink('task', 'create', "project={$task->project}&storyID={$task->story}&moduleID={$task->module}"); + if(common::hasPriv('task', 'create', $checkObject)) echo html::a($link, " {$lang->task->create}", '', "class='btn btn-primary'"); + ?> +
diff --git a/module/testcase/view/view.html.php b/module/testcase/view/view.html.php index 0fcd00daf2..2d5933b584 100644 --- a/module/testcase/view/view.html.php +++ b/module/testcase/view/view.html.php @@ -44,6 +44,9 @@
+
+ product}&branch={$case->branch}&moduleID={$case->module}", "" . $lang->testcase->create, '', "class='btn btn-primary'"); ?> +