* Add child mark for story list. Fix bug #40225.

This commit is contained in:
wangyidong
2023-11-07 10:15:22 +08:00
parent 62dc601bae
commit c727bb260f
3 changed files with 2 additions and 6 deletions
@@ -10,12 +10,6 @@ title=测试 fileModel->getChunkedFile();
cid=1
pid=1
测试获取上传image1时的文件信息 >> png,img1,3021,/tmp/phpsjisk
测试获取上传image2时的文件信息 >> png,img2,3281,/tmp/phpsjisk
测试获取上传image3时的文件信息 >> png,img3,938,/tmp/phpsjisk
测试获取上传image4时的文件信息 >> png,img4,4821,/tmp/phpsjisk
测试获取上传image5时的文件信息 >> png,img5,9870,/tmp/phpsjisk
*/
$_SERVER['HTTP_X_FILENAME'] = 'a.png';
+1
View File
@@ -52,6 +52,7 @@ window.renderCell = function(result, info)
const story = info.row.data;
let html = '';
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'>" + childrenAB + "</span> ";
if(html) result.unshift({html});
}
return result;
+1
View File
@@ -285,6 +285,7 @@ if($app->rawModule == 'projectstory' && !empty($project))
data('storyBrowseType', $storyBrowseType);
jsVar('childrenAB', $lang->story->childrenAB);
jsVar('projectID', $projectID);
jsVar('modulePairs', $modulePairs);
jsVar('checkedSummary', str_replace('%storyCommon%', $storyCommon, $lang->product->checkedSummary));