* [bug#60230,done,1h] Render project name and builds.

This commit is contained in:
daitingting
2025-03-04 18:08:41 +08:00
committed by 谢杞钰
parent 72cfbce22e
commit 128c132a32
2 changed files with 21 additions and 1 deletions
+21
View File
@@ -208,5 +208,26 @@ window.renderCell = function(result, info)
if(html) result.unshift({html});
}
}
if(blockType == 'productRelease')
{
if(info.col.name == 'build')
{
result = [];
if(!info.row.data.build.name) return result;
result.push({html: info.row.data.build.name});
return result;
}
if(info.col.name == 'project')
{
result = [];
if(!info.row.data.projectName) return result;
result.push({html: `<span title='${info.row.data.projectName}'>${info.row.data.projectName}</span>`});
return result;
}
}
return result;
};
-1
View File
@@ -121,7 +121,6 @@ if($isFromDoc)
}
}
$releases = initTableData($releases, $cols, $this->release);
dtable
(