This commit is contained in:
hufangzhou
2023-06-20 08:50:35 +08:00
parent 89ccb03950
commit 9ce682d2d4
+1 -1
View File
@@ -20,7 +20,7 @@
<p>
<span class="text-muted"><?php echo $lang->testcase->noCase;?></span>
<?php if(common::canModify('product', $product) and common::hasPriv('testcase', 'create')):?>
<?php echo html::a($this->createLink('testcase', 'create', "productID=$productID&branch=$branch&moduleID=$initModule"), "<i class='icon icon-plus'></i> " . $lang->testcase->create, '', "class='btn btn-info'");?>
<?php echo html::a($this->createLink('testcase', 'create', "productID=$productID&branch=$branch"), "<i class='icon icon-plus'></i> " . $lang->testcase->create, '', "class='btn btn-info'");?>
<?php endif;?>
</p>
</div>