diff --git a/module/story/view/view.html.php b/module/story/view/view.html.php index ad8196582e..95f5856e03 100644 --- a/module/story/view/view.html.php +++ b/module/story/view/view.html.php @@ -44,7 +44,7 @@ common::printIcon('story', 'change', "storyID=$story->id", $story); common::printIcon('story', 'review', "storyID=$story->id", $story); - if($story->status != 'closed') + if($story->status != 'closed' and !isonlybody()) { $misc = common::hasPriv('story', 'batchCreate') ? "class='btn' data-toggle='modal' data-type='iframe' data-width='95%'" : "class='disabled'"; $link = common::hasPriv('story', 'batchCreate') ? $this->createLink('story', 'batchCreate', "productID=$story->product&branch=$story->branch&moduleID=$story->module&storyID=$story->id", '', true) : '#'; @@ -54,20 +54,23 @@ common::printIcon('story', 'close', "storyID=$story->id", $story, 'button', '', '', 'iframe text-danger', true); common::printIcon('story', 'activate', "storyID=$story->id", $story, 'button', '', '', 'iframe text-success', true); - $this->app->loadLang('testcase'); - echo "