* Finish task#75323.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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ẹ';
|
||||
|
||||
@@ -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 = '父需求';
|
||||
|
||||
Reference in New Issue
Block a user