From 83c91c5a69ec45436f603fcc56de79d56c765505 Mon Sep 17 00:00:00 2001 From: liugang Date: Thu, 5 Jul 2018 10:57:40 +0800 Subject: [PATCH] * Finish task #4626 --- module/project/css/story.css | 3 ++- module/project/view/story.html.php | 33 ++++++++++++++++++------------ module/project/view/task.html.php | 8 ++++---- 3 files changed, 26 insertions(+), 18 deletions(-) diff --git a/module/project/css/story.css b/module/project/css/story.css index bc4f55afb1..cc5ec96e9a 100644 --- a/module/project/css/story.css +++ b/module/project/css/story.css @@ -1,4 +1,5 @@ +#linkButton {border-radius: 4px !important;} tbody > tr > td > .btn-icon {margin-right: 4px} @media (max-width: 1200px) {#storyList .c-user, #storyList .c-estimate {display: none!important;}} @media (max-width: 1000px) {#storyList .c-status, #storyList .c-pri {display: none!important;}} -@media (max-width: 820px) {#storyList .c-sort, #storyList .c-stage {display: none!important;}} \ No newline at end of file +@media (max-width: 820px) {#storyList .c-sort, #storyList .c-stage {display: none!important;}} diff --git a/module/project/view/story.html.php b/module/project/view/story.html.php index 3e66d14f2d..48f0d57290 100644 --- a/module/project/view/story.html.php +++ b/module/project/view/story.html.php @@ -38,6 +38,20 @@ " . $lang->story->export, '', "class='btn btn-link export'"); + $this->lang->story->create = $this->lang->project->createStory; + if($productID and !$this->loadModel('story')->checkForceReview()) + { + echo "'; + } + if(commonModel::isTutorialMode()) { $wizardParams = helper::safe64Encode("project=$project->id"); @@ -45,23 +59,16 @@ } else { - echo "'; } - - $this->lang->story->create = $this->lang->project->createStory; - if($productID and !$this->loadModel('story')->checkForceReview()) - { - common::printLink('story', 'batchCreate', "productID=$productID&branch=0&moduleID=0&story=0&project=$project->id", " " . $lang->story->batchCreate, '', "class='btn btn-secondary'"); - common::printLink('story', 'create', "productID=$productID&branch=0&moduleID=0&story=0&project=$project->id", " " . $lang->story->create, '', "class='btn btn-primary'"); - } ?> diff --git a/module/project/view/task.html.php b/module/project/view/task.html.php index d3ca0e0fa3..752203ac97 100644 --- a/module/project/view/task.html.php +++ b/module/project/view/task.html.php @@ -118,9 +118,9 @@ js::set('browseType', $browseType); common::printIcon('task', 'report', "project=$projectID&browseType=$browseType", '', 'button', 'bar-chart muted'); ?> -
+ -
+