* Finish task #59748.

This commit is contained in:
zhouxudong
2022-07-05 06:20:33 +00:00
parent 994ca59405
commit 8110d73bd7
4 changed files with 4 additions and 8 deletions
+1 -2
View File
@@ -198,8 +198,7 @@ body {margin-bottom: 25px;}
<div class="table-empty-tip">
<p>
<span class="text-muted"><?php echo $lang->task->noTask;?></span>
<?php $statusList = array("doing", "closed");?>
<?php if($canBeChanged and common::hasPriv('task', 'create') and !in_array($status, $statusList)):?>
<?php if($canBeChanged and common::hasPriv('task', 'create') and $status == "all"):?>
<?php echo html::a($taskCreateLink, "<i class='icon icon-plus'></i> " . $lang->task->create, '', "class='btn btn-info'");?>
<?php endif;?>
</p>