diff --git a/module/bug/css/browse.css b/module/bug/css/browse.css index ad9760e3e5..828be685ff 100644 --- a/module/bug/css/browse.css +++ b/module/bug/css/browse.css @@ -16,3 +16,5 @@ #treebox{position:fixed;margin-left:20px;} .outer.hide-side #treebox{margin-left:0px;} + +#createActionMenu .btn{color: #fff!important; text-shadow: 0 -1px 0 rgba(0,0,0,.2)!important; background-color: #d2322d!important; border-color: #bd2d29!important;} diff --git a/module/bug/view/browse.html.php b/module/bug/view/browse.html.php index 13ac5d7571..c914b0e0fc 100644 --- a/module/bug/view/browse.html.php +++ b/module/bug/view/browse.html.php @@ -62,24 +62,25 @@ js::set('bugBrowseType', ($browseType == 'bymodule' and $this->session->bugBrows
-
- -
-
-
- - -
+
+ createLink('tutorial', 'wizard', "module=story&method=create¶ms=$wizardParams"), "" . $lang->story->create, '', 'create-story-btn'); + } + else + { + $misc = common::hasPriv('story', 'create') ? "class='btn'" : "class='btn disabled'"; + $link = common::hasPriv('story', 'create') ? $this->createLink('story', 'create', "productID=$productID&branch=$branch&moduleID=$moduleID") : '#'; + echo html::a($link, "" . $lang->story->create, '', $misc); + } + ?> + +
'>
diff --git a/module/project/css/task.css b/module/project/css/task.css index 720ed1ad17..3e60ee765d 100644 --- a/module/project/css/task.css +++ b/module/project/css/task.css @@ -24,4 +24,6 @@ #taskTree{position:fixed;margin-left:20px;} .outer.hide-side #taskTree{margin-left:0px;} +#createActionMenu .btn{color: #fff!important; text-shadow: 0 -1px 0 rgba(0,0,0,.2)!important; background-color: #d2322d!important; border-color: #bd2d29!important;} + tbody > tr > td > .btn-icon {margin-right: 2px} diff --git a/module/project/view/taskheader.html.php b/module/project/view/taskheader.html.php index 22964e4fac..33b780d9df 100644 --- a/module/project/view/taskheader.html.php +++ b/module/project/view/taskheader.html.php @@ -121,17 +121,17 @@
-
- -