Merge branch 'sprint/194_liumengyi_activeKanban' into 'master'
* Fnish task #55255. See merge request easycorp/zentaopms!3558
This commit is contained in:
@@ -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;?>'>
|
||||
|
||||
Reference in New Issue
Block a user