* execution: add emptyTip, createTip and createLink attributes to dtable.

This commit is contained in:
liugang
2023-11-08 14:02:40 +08:00
parent fd2c966b0e
commit 3836cbf804
3 changed files with 12 additions and 1 deletions
+3
View File
@@ -66,6 +66,9 @@ dtable
set::footPager(
usePager(array('linkCreator' => helper::createLink('execution', 'testcase', "executionID={$executionID}&productID={$productID}&branchID={$branchID}&type={$type}&param=0&moduleID={$moduleID}&orderBy={$orderBy}&recTotal={$pager->recTotal}&recPerPage={recPerPage}&pageID={page}"))),
),
set::emptyTip($lang->testcase->noCase),
set::createTip($lang->testcase->create),
set::createLink($canCreateTestcase ? createLink('testcase', 'create', "productID={$productID}&branch=0&moduleID=0&from=execution&param={$execution->id}") : '')
);
render();