diff --git a/module/execution/view/edit.html.php b/module/execution/view/edit.html.php
index 9e25912f80..e3b878b4ef 100644
--- a/module/execution/view/edit.html.php
+++ b/module/execution/view/edit.html.php
@@ -87,25 +87,23 @@
- type != 'kanban' or $project->model == 'waterfall' or $project->model == 'waterfallplus'):?>
+ model == 'waterfall' or $project->model == 'waterfallplus'):?>
- | execution->type;?> |
+ stage->type;?> |
- model == 'waterfall' or $project->model == 'waterfallplus')
- {
- echo $enableOptionalAttr ? html::select('attribute', $lang->stage->typeList, $execution->attribute, "class='form-control chosen'") : zget($lang->stage->typeList, $execution->attribute);
- }
- elseif($execution->type != 'kanban')
- {
- echo html::select('lifetime', $lang->execution->lifeTimeList, $execution->lifetime, "class='form-control' onchange='showLifeTimeTips()'");
- }
- ?>
+ stage->typeList, $execution->attribute, "class='form-control chosen'") : zget($lang->stage->typeList, $execution->attribute); ?>
|
|
+ type != 'kanban'):?>
+
+ | execution->type;?> |
+
+ execution->lifeTimeList, $execution->lifetime, "class='form-control' onchange='showLifeTimeTips()'"); ?>
+ |
+
| execution->teamname;?> |
diff --git a/module/execution/view/story.html.php b/module/execution/view/story.html.php
index 8412190f4c..d724b16927 100644
--- a/module/execution/view/story.html.php
+++ b/module/execution/view/story.html.php
@@ -242,7 +242,7 @@
$canBatchClose = common::hasPriv('story', 'batchClose');
$canBatchChangeStage = common::hasPriv('story', 'batchChangeStage');
$canBatchUnlink = common::hasPriv('execution', 'batchUnlinkStory');
- $canBatchToTask = common::hasPriv('story', 'batchToTask', $checkObject);
+ $canBatchToTask = (common::hasPriv('story', 'batchToTask', $checkObject) and $storyType != 'requirement');
$canBatchAssignTo = common::hasPriv($storyType, 'batchAssignTo');
$canBatchAction = ($canBeChanged and ($canBatchEdit or $canBatchClose or $canBatchChangeStage or $canBatchUnlink or $canBatchToTask or $canBatchAssignTo));
diff --git a/module/story/control.php b/module/story/control.php
index a88598b3e2..e393e73c1e 100755
--- a/module/story/control.php
+++ b/module/story/control.php
@@ -960,6 +960,8 @@ class story extends control
$branch = $product->type == 'branch' ? ($story->branch > 0 ? $story->branch : '0') : 'all';
$productStories = $this->story->getProductStoryPairs($story->product, $branch, 0, 'all', 'id_desc', 0, '', $story->type);
+ if($story->type == 'requirement') $this->lang->story->notice->reviewerNotEmpty = str_replace($this->lang->SRCommon, $this->lang->URCommon, $this->lang->story->notice->reviewerNotEmpty);
+
$this->view->title = $this->lang->story->edit . "STORY" . $this->lang->colon . $this->view->story->title;
$this->view->position[] = $this->lang->story->edit;
$this->view->story = $story;