From ccbf2ee9eb0e739e82e679870e628e4733bbe5d9 Mon Sep 17 00:00:00 2001 From: lanzongjun Date: Fri, 18 Nov 2022 09:59:39 +0800 Subject: [PATCH] * Fix task #76414 --- module/execution/view/story.html.php | 35 +++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/module/execution/view/story.html.php b/module/execution/view/story.html.php index e6883a207a..cc9427c527 100644 --- a/module/execution/view/story.html.php +++ b/module/execution/view/story.html.php @@ -243,7 +243,9 @@ $canBatchChangeStage = common::hasPriv('story', 'batchChangeStage'); $canBatchUnlink = common::hasPriv('execution', 'batchUnlinkStory'); $canBatchToTask = common::hasPriv('story', 'batchToTask', $checkObject); - $canBatchAction = ($canBeChanged and ($canBatchEdit or $canBatchClose or $canBatchChangeStage or $canBatchUnlink or $canBatchToTask)); + $canBatchAssignTo = common::hasPriv($storyType, 'batchAssignTo'); + + $canBatchAction = ($canBeChanged and ($canBatchEdit or $canBatchClose or $canBatchChangeStage or $canBatchUnlink or $canBatchToTask or $canBatchAssignTo)); ?> ';?> ' id='storyList' data-fixed-left-width='' data-fixed-right-width=''> @@ -321,6 +323,37 @@ + + +
+ + 10; + $actionLink = $this->createLink('story', 'batchAssignTo', "storyType=$storyType"); + echo html::select('assignedTo', $users, '', 'class="hidden"'); + ?> + +
+ +