Merge branch 'sprint/194_liumengyi_activeKanban' into 'master'

* Fnish task #55255.

See merge request easycorp/zentaopms!3558
This commit is contained in:
李玉春
2022-05-24 05:40:21 +00:00
+1 -1
View File
@@ -72,7 +72,7 @@
$canEdit = common::hasPriv('kanban','edit');
$canDelete = common::hasPriv('kanban','delete');
$canClose = (common::hasPriv('kanban', 'close') and $kanban->status == 'active');
$canActivate = (common::hasPriv('kanban', 'activate') and $kanban->status == 'close');
$canActivate = (common::hasPriv('kanban', 'activate') and $kanban->status == 'closed');
?>
<?php if($canEdit or $canDelete or $canClose or $canActivate):?>
<div class='kanban-actions kanban-actions<?php echo $kanbanID;?>'>