* Code for finish task #84593.

This commit is contained in:
tianshujie
2023-02-18 15:16:29 +08:00
parent 8208608430
commit 4e7f8247e3
4 changed files with 26 additions and 11 deletions
+6 -6
View File
@@ -2595,6 +2595,12 @@ class execution extends control
$execution = $this->commonAction($executionID);
if($execution->type != 'kanban') return print(js::locate(inlink('view', "executionID=$executionID")));
if($execution->lifetime == 'ops' or in_array($execution->attribute, array('request', 'review')))
{
$browseType = 'task';
unset($this->lang->kanban->group->task['story']);
}
$kanbanData = $this->loadModel('kanban')->getRDKanban($executionID, $browseType, $orderBy, 0, $groupBy);
$executionActions = array();
foreach($this->config->execution->statusActions as $action)
@@ -2602,12 +2608,6 @@ class execution extends control
if($this->execution->isClickable($execution, $action)) $executionActions[] = $action;
}
if($execution->lifetime == 'ops' or in_array($execution->attribute, array('request', 'review')))
{
$browseType = 'task';
unset($this->lang->kanban->group->task['story']);
}
$userList = array();
$users = $this->loadModel('user')->getPairs('noletter|nodeleted');
$avatarPairs = $this->user->getAvatarPairs('all');