* Finish task #8194.

This commit is contained in:
holan20180123
2020-11-11 16:11:27 +08:00
parent e330353df3
commit 547ecde44d
4 changed files with 7 additions and 10 deletions
+1 -1
View File
@@ -39,7 +39,7 @@
<div class="table-empty-tip">
<p>
<span class="text-muted"><?php echo $lang->testtask->noTesttask;?></span>
<?php if(common::hasPriv('testtask', 'create')):?>
<?php if((empty($this->config->global->closedProjectStatus) or $project->status != 'closed') and common::hasPriv('testtask', 'create')):?>
<?php echo html::a($this->createLink('testtask', 'create', "product=0&project=$projectID"), "<i class='icon icon-plus'></i> " . $lang->testtask->create, '', "class='btn btn-info'");?>
<?php endif;?>
</p>