This commit is contained in:
liumengyi
2022-07-26 16:02:47 +08:00
parent 649950fa21
commit 30b7ecbee7
3 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -198,7 +198,7 @@ body {margin-bottom: 25px;}
<div class="table-empty-tip">
<p>
<span class="text-muted"><?php echo $lang->task->noTask;?></span>
<?php if($canBeChanged and common::hasPriv('task', 'create') and empty($allTasksNum)):?>
<?php if($canBeChanged and common::hasPriv('task', 'create') and empty($allTasks)):?>
<?php echo html::a($taskCreateLink, "<i class='icon icon-plus'></i> " . $lang->task->create, '', "class='btn btn-info'");?>
<?php endif;?>
</p>