* Merge 18.x story.
This commit is contained in:
@@ -1903,7 +1903,7 @@ class storyModel extends model
|
||||
{
|
||||
foreach($stories2Link as $id => $story)
|
||||
{
|
||||
if($storyType == 'story' and $story->status == 'draft') unset($stories2Link[$id]);
|
||||
if($storyType == 'story' and $story->status != 'active') unset($stories2Link[$id]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -180,6 +180,7 @@ detailHeader
|
||||
)
|
||||
);
|
||||
|
||||
$statusClass = $story->URChanged ? 'status-changed' : "status-{$story->status}";
|
||||
detailBody
|
||||
(
|
||||
sectionList
|
||||
@@ -277,8 +278,8 @@ detailBody
|
||||
set::name($lang->story->status),
|
||||
span
|
||||
(
|
||||
setClass("status-story status-{$story->status}"),
|
||||
$this->processStatus('story', $story)
|
||||
setClass("status-story $statusClass"),
|
||||
$story->URChanged ? $lang->story->URChanged : $this->processStatus('story', $story)
|
||||
)
|
||||
),
|
||||
$story->type == 'requirement' ? null : item
|
||||
|
||||
Reference in New Issue
Block a user