* Finish task#75323.

This commit is contained in:
xieqiyu
2022-11-08 03:03:21 +00:00
parent 5467f11490
commit 0ddb613cdc
6 changed files with 15 additions and 0 deletions
+10
View File
@@ -941,6 +941,16 @@ class story extends control
/* Get edited stories. */
$stories = $this->story->getByList($storyIdList);
/* Filter siblings. */
$siblings = '';
foreach($stories as $id => $story)
{
if(empty($story->siblings)) continue;
$siblings .= "#$id ";
unset($stories[$id]);
}
if(!empty($siblings)) echo js::alert(sprintf($this->lang->story->batchEditTip, $siblings));
$this->loadModel('branch');
if($productID and !$executionID)
{
+1
View File
@@ -107,6 +107,7 @@ $lang->story->assignSyncTip = "Both twin stories modify the assignor synch
$lang->story->closeSyncTip = "Twin stories are closed synchronously";
$lang->story->activateSyncTip = "Twin stories are activated synchronously";
$lang->story->relievedSiblingsTip = "After product adjustment, the twin relationship of this story will be automatically removed, and the story will no longer be synchronized. Do you want to save?";
$lang->story->batchEditTip = "{$lang->SRCommon} %sis twin stories, and this operation has been filtered.";
$lang->story->id = 'ID';
$lang->story->parent = 'Parent';
+1
View File
@@ -107,6 +107,7 @@ $lang->story->assignSyncTip = "Both twin stories modify the assignor synch
$lang->story->closeSyncTip = "Twin stories are closed synchronously";
$lang->story->activateSyncTip = "Twin stories are activated synchronously";
$lang->story->relievedSiblingsTip = "After product adjustment, the twin relationship of this story will be automatically removed, and the story will no longer be synchronized. Do you want to save?";
$lang->story->batchEditTip = "{$lang->SRCommon} %sis twin stories, and this operation has been filtered.";
$lang->story->id = 'ID';
$lang->story->parent = 'Parent';
+1
View File
@@ -107,6 +107,7 @@ $lang->story->assignSyncTip = "Both twin stories modify the assignor synch
$lang->story->closeSyncTip = "Twin stories are closed synchronously";
$lang->story->activateSyncTip = "Twin stories are activated synchronously";
$lang->story->relievedSiblingsTip = "After product adjustment, the twin relationship of this story will be automatically removed, and the story will no longer be synchronized. Do you want to save?";
$lang->story->batchEditTip = "{$lang->SRCommon} %sis twin stories, and this operation has been filtered.";
$lang->story->id = 'ID';
$lang->story->parent = 'Parent';
+1
View File
@@ -100,6 +100,7 @@ $lang->story->assignSyncTip = "Both twin stories modify the assignor synch
$lang->story->closeSyncTip = "Twin stories are closed synchronously";
$lang->story->activateSyncTip = "Twin stories are activated synchronously";
$lang->story->relievedSiblingsTip = "After product adjustment, the twin relationship of this story will be automatically removed, and the story will no longer be synchronized. Do you want to save?";
$lang->story->batchEditTip = "{$lang->SRCommon} %sis twin stories, and this operation has been filtered.";
$lang->story->id = 'ID';
$lang->story->parent = 'Mẹ';
+1
View File
@@ -107,6 +107,7 @@ $lang->story->assignSyncTip = "孪生需求均同步修改指派人";
$lang->story->closeSyncTip = "孪生需求均同步关闭";
$lang->story->activateSyncTip = "孪生需求均同步激活";
$lang->story->relievedSiblingsTip = '产品调整后,本需求自动解除孪生关系,需求不再同步,是否保存?';
$lang->story->batchEditTip = "{$lang->SRCommon} %s为孪生需求,本次操作已被过滤。";
$lang->story->id = '编号';
$lang->story->parent = '父需求';