* Finish task#74154,#74153.
This commit is contained in:
@@ -475,7 +475,9 @@ $lang->story->featureBar['browse']['draft'] = $lang->story->statusList['draf
|
||||
$lang->story->featureBar['browse']['reviewing'] = $lang->story->statusList['reviewing'];
|
||||
|
||||
$lang->story->operateList = array();
|
||||
$lang->story->operateList['assigned'] = 'assigned';
|
||||
$lang->story->operateList['assigned'] = 'assigned';
|
||||
$lang->story->operateList['closed'] = 'closed';
|
||||
$lang->story->operateList['activated'] = 'activated';
|
||||
|
||||
$lang->requirement->common = $lang->URCommon;
|
||||
$lang->requirement->create = 'Create Requirement';
|
||||
|
||||
@@ -475,7 +475,9 @@ $lang->story->featureBar['browse']['draft'] = $lang->story->statusList['draf
|
||||
$lang->story->featureBar['browse']['reviewing'] = $lang->story->statusList['reviewing'];
|
||||
|
||||
$lang->story->operateList = array();
|
||||
$lang->story->operateList['assigned'] = 'assigned';
|
||||
$lang->story->operateList['assigned'] = 'assigned';
|
||||
$lang->story->operateList['closed'] = 'closed';
|
||||
$lang->story->operateList['activated'] = 'activated';
|
||||
|
||||
$lang->requirement->common = $lang->URCommon;
|
||||
$lang->requirement->create = 'Create Requirement';
|
||||
|
||||
@@ -475,7 +475,9 @@ $lang->story->featureBar['browse']['draft'] = $lang->story->statusList['draf
|
||||
$lang->story->featureBar['browse']['reviewing'] = $lang->story->statusList['reviewing'];
|
||||
|
||||
$lang->story->operateList = array();
|
||||
$lang->story->operateList['assigned'] = 'assigned';
|
||||
$lang->story->operateList['assigned'] = 'assigned';
|
||||
$lang->story->operateList['closed'] = 'closed';
|
||||
$lang->story->operateList['activated'] = 'activated';
|
||||
|
||||
$lang->requirement->common = $lang->URCommon;
|
||||
$lang->requirement->create = 'Create Requirement';
|
||||
|
||||
@@ -463,4 +463,6 @@ $lang->story->featureBar['browse']['draft'] = $lang->story->statusList['draf
|
||||
$lang->story->featureBar['browse']['reviewing'] = $lang->story->statusList['reviewing'];
|
||||
|
||||
$lang->story->operateList = array();
|
||||
$lang->story->operateList['assigned'] = 'assigned';
|
||||
$lang->story->operateList['assigned'] = 'assigned';
|
||||
$lang->story->operateList['closed'] = 'closed';
|
||||
$lang->story->operateList['activated'] = 'activated';
|
||||
|
||||
@@ -475,7 +475,9 @@ $lang->story->featureBar['browse']['draft'] = $lang->story->statusList['draf
|
||||
$lang->story->featureBar['browse']['reviewing'] = $lang->story->statusList['reviewing'];
|
||||
|
||||
$lang->story->operateList = array();
|
||||
$lang->story->operateList['assigned'] = '指派';
|
||||
$lang->story->operateList['assigned'] = '指派';
|
||||
$lang->story->operateList['closed'] = '关闭';
|
||||
$lang->story->operateList['activated'] = '激活';
|
||||
|
||||
$lang->requirement->common = $lang->URCommon;
|
||||
$lang->requirement->create = "提{$lang->URCommon}";
|
||||
|
||||
@@ -1794,7 +1794,10 @@ class storyModel extends model
|
||||
|
||||
if(($this->config->edition == 'biz' || $this->config->edition == 'max') && $oldStory->feedback) $this->loadModel('feedback')->updateStatus('story', $oldStory->feedback, $story->status, $oldStory->status);
|
||||
}
|
||||
return common::createChanges($oldStory, $story);
|
||||
|
||||
$changes = common::createChanges($oldStory, $story);
|
||||
if(!empty($oldStory->siblings)) $this->syncSiblings($storyID, $oldStory->siblings, $changes, 'Closed');
|
||||
return $changes;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -2388,7 +2391,9 @@ class storyModel extends model
|
||||
/* Update parent story status. */
|
||||
if($oldStory->parent > 0) $this->updateParentStatus($storyID, $oldStory->parent);
|
||||
|
||||
return common::createChanges($oldStory, $story);
|
||||
$changes = common::createChanges($oldStory, $story);
|
||||
if(!empty($oldStory->siblings)) $this->syncSiblings($storyID, $oldStory->siblings, $changes, 'Activated');
|
||||
return $changes;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user