* Finish task #8378.

This commit is contained in:
holan20180123
2020-11-17 14:04:50 +08:00
parent 3def724cd5
commit bb34dfe79b
26 changed files with 62 additions and 62 deletions
+1 -1
View File
@@ -19,7 +19,7 @@
<div class="table-empty-tip">
<p>
<span class="text-muted"><?php echo $lang->testcase->noCase;?></span>
<?php if((empty($this->config->global->closedProductStatus) or $product->status != 'closed') and common::hasPriv('testcase', 'create')):?>
<?php if((!empty($this->config->CRProduct) or $product->status != 'closed') 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 endif;?>
</p>