* Fix bug#46734.

This commit is contained in:
xieqiyu
2024-03-12 10:36:28 +08:00
parent a4fa0c00c3
commit 93ef74b8e2
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ window.renderCell = function(result, info)
{
const story = info.row.data;
let html = '';
if(story.parent > 0 && $.cookie.get('tab') == 'project') html += story.parentName + ' / ';
if(story.parent > 0 && $.cookie.get('tab') == 'project' && vision != 'lite') html += story.parentName + ' / ';
if(typeof modulePairs[story.rawModule] != 'undefined') html += "<span class='label gray-pale rounded-xl clip'>" + modulePairs[story.rawModule] + "</span> ";
if(story.parent > 0) html += "<span class='label gray-pale rounded-xl clip'>" + (storyType == 'requirement' ? 'SR' : childrenAB) + "</span> ";
if(story.color) result[0].props.style = 'color: ' + story.color;
+1
View File
@@ -15,6 +15,7 @@ namespace zin;
data('storyType', $storyType);
data('activeMenuID', $storyType);
jsVar('URChanged', $this->lang->story->URChanged);
jsVar('vision', $config->vision);
$storyCommon = $storyType == 'requirement' ? $lang->URCommon : $lang->SRCommon;
$isProjectStory = $this->app->rawModule == 'projectstory';