* merge after 12.4.1 changes.
This commit is contained in:
@@ -2494,7 +2494,7 @@ class bugModel extends model
|
||||
$canBatchResolve = common::hasPriv('bug', 'batchResolve');
|
||||
$canBatchAssignTo = common::hasPriv('bug', 'batchAssignTo');
|
||||
|
||||
$canBatchAction = $canBatchEdit or $canBatchConfirm or $canBatchClose or $canBatchActivate or $canBatchChangeBranch or $canBatchChangeModule or $canBatchResolve or $canBatchAssignTo;
|
||||
$canBatchAction = ($canBatchEdit or $canBatchConfirm or $canBatchClose or $canBatchActivate or $canBatchChangeBranch or $canBatchChangeModule or $canBatchResolve or $canBatchAssignTo);
|
||||
|
||||
$canView = common::hasPriv('bug', 'view');
|
||||
|
||||
@@ -2603,6 +2603,13 @@ class bugModel extends model
|
||||
echo common::hasPriv('task', 'view') ? html::a(helper::createLink('task', 'view', "taskID=$task->id", 'html', true), $task->name, '', "class='iframe'") : $task->name;
|
||||
}
|
||||
break;
|
||||
case 'toTask':
|
||||
if(isset($tasks[$bug->toTask]))
|
||||
{
|
||||
$task = $tasks[$bug->toTask];
|
||||
echo common::hasPriv('task', 'view') ? html::a(helper::createLink('task', 'view', "taskID=$task->id", 'html', true), $task->name, '', "class='iframe'") : $task->name;
|
||||
}
|
||||
break;
|
||||
case 'type':
|
||||
echo zget($this->lang->bug->typeList, $bug->type);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user