* Fix bug #43072.
This commit is contained in:
@@ -34,6 +34,13 @@ window.onRenderCell = function(result, {row, col})
|
||||
if(row.data.color) result[0].props.style = 'color: ' + row.data.color;
|
||||
const module = this.options.modules[row.data.module];
|
||||
if(module) result.unshift({html: '<span class="label lighter rounded-full">' + module + '</span>'}); // 添加模块标签
|
||||
|
||||
if(row.data.case)
|
||||
{
|
||||
caseLink = $.createLink('testcase', 'view', "caseID=" + row.data.case + "&version=" + row.data.caseVersion);
|
||||
result.push({html: '<a href="' + caseLink + '"class="text-gray" title="' + row.data.case + '">[' + caseCommonLang + '#' + row.data.case + ']</a>'});
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
|
||||
@@ -10,8 +10,9 @@ declare(strict_types=1);
|
||||
*/
|
||||
namespace zin;
|
||||
|
||||
jsVar('productID', $product->id);
|
||||
jsVar('branch', $branch);
|
||||
jsVar('productID', $product->id);
|
||||
jsVar('branch', $branch);
|
||||
jsVar('caseCommonLang', $this->lang->testcase->common);
|
||||
|
||||
$queryMenuLink = createLink('bug', 'browse', "productID={$product->id}&branch={$branch}&browseType=bySearch¶m={queryID}");
|
||||
$currentType = $browseType == 'bysearch' ? $param : ($browseType == 'bymodule' ? $this->session->bugBrowseType : $browseType);
|
||||
|
||||
Reference in New Issue
Block a user