From c72a51076fd2a817dbde5159229cb4d8ec5ab3b1 Mon Sep 17 00:00:00 2001 From: chenfeiCF Date: Tue, 15 Nov 2016 13:10:39 +0800 Subject: [PATCH] * finish task #2696. --- module/bug/view/browse.html.php | 36 ++++++++++++++++-------- module/product/view/browse.html.php | 36 ++++++++++++++++-------- module/project/view/taskheader.html.php | 21 +++++++++++--- module/testcase/view/caseheader.html.php | 27 +++++++++++++----- 4 files changed, 85 insertions(+), 35 deletions(-) diff --git a/module/bug/view/browse.html.php b/module/bug/view/browse.html.php index 0898151e53..5af222fd7c 100644 --- a/module/bug/view/browse.html.php +++ b/module/bug/view/browse.html.php @@ -62,18 +62,30 @@ js::set('bugBrowseType', ($browseType == 'bymodule' and $this->session->bugBrows
- createLink('tutorial', 'wizard', "module=bug&method=create¶ms=$wizardParams"), " {$lang->bug->create}",'', "class='btn btn-bug-create'"); - } - else - { - common::printIcon('bug', 'create', "productID=$productID&branch=$branch&extra=moduleID=$moduleID", 'btn', 'button', 'plus', '', 'btn-bug-create'); - } - ?> +
+ + +
'>
diff --git a/module/product/view/browse.html.php b/module/product/view/browse.html.php index c96fc9a092..62e8f8b693 100644 --- a/module/product/view/browse.html.php +++ b/module/product/view/browse.html.php @@ -56,18 +56,30 @@
- createLink('tutorial', 'wizard', "module=story&method=create¶ms=$wizardParams"), " {$lang->story->create}",'', "class='btn create-story-btn'"); - } - else - { - common::printIcon('story', 'create', "productID=$productID&branch=$branch&moduleID=$moduleID", 'btn', 'button', 'plus', '', 'create-story-btn'); - } - ?> +
+ + +
'>
diff --git a/module/project/view/taskheader.html.php b/module/project/view/taskheader.html.php index 119c999d62..22964e4fac 100644 --- a/module/project/view/taskheader.html.php +++ b/module/project/view/taskheader.html.php @@ -121,10 +121,23 @@
- +
+ + +
'>
diff --git a/module/testcase/view/caseheader.html.php b/module/testcase/view/caseheader.html.php index 173126ebd7..8b4fa7d0c9 100644 --- a/module/testcase/view/caseheader.html.php +++ b/module/testcase/view/caseheader.html.php @@ -76,13 +76,26 @@ ?> - + + +
+
+ + +
'>