* Code optimization.

This commit is contained in:
zhouxudong
2022-07-13 09:20:34 +00:00
parent 559baff057
commit ce70c10870
11 changed files with 12 additions and 29 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->count)):?>
<?php if($canBeChanged and common::hasPriv('task', 'create') and empty($allTasksNum)):?>
<?php echo html::a($taskCreateLink, "<i class='icon icon-plus'></i> " . $lang->task->create, '', "class='btn btn-info'");?>
<?php endif;?>
</p>