* Add child mark for story list. Fix bug #40225.
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user