Merge branch dev/bug-65033 of zentao/zentaopms (#11237)

This commit is contained in:
刘刚
2025-09-03 16:11:15 +08:00
committed by Gitfox
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ featureBar
toolbar
(
$objectType != 'project' && $objectType != 'execution' ? btngroup
$objectType != 'project' && $objectType != 'execution' && hasPriv('testreport', 'create') ? btngroup
(
btn
(
+3 -3
View File
@@ -32,13 +32,13 @@ toolbar
(
btngroup
(
btn
hasPriv('testsuite', 'create') ? btn
(
setClass('btn primary'),
set::icon('plus'),
set::url(helper::createLink('testsuite', 'create', "productID={$product->id}")),
$lang->testsuite->create
)
) : null
)
);
@@ -54,7 +54,7 @@ dtable
set::footPager(usePager()),
set::emptyTip($lang->testsuite->noTestsuite),
set::createTip($lang->testsuite->create),
set::createLink(createLink('testsuite', 'create', "productID={$product->id}"))
hasPriv('testsuite', 'create') ? set::createLink(createLink('testsuite', 'create', "productID={$product->id}")) : null
);
render();