* adjust for import bug.
This commit is contained in:
@@ -974,7 +974,6 @@ class projectModel extends model
|
||||
$task->pri = $bugToTasks->pri[$key];
|
||||
$task->consumed = 0;
|
||||
$task->status = 'wait';
|
||||
$task->desc = $this->lang->bug->resolve . ':' . '#' . html::a(helper::createLink('bug', 'view', "bugID=$key"), sprintf('%03d', $key));
|
||||
$task->openedDate = $now;
|
||||
$task->openedBy = $this->app->user->account;
|
||||
if(!empty($bugToTasks->estimate[$key]))
|
||||
|
||||
@@ -449,6 +449,7 @@ class task extends control
|
||||
$task->bugSteps = $bug->steps;
|
||||
foreach($bug->files as $file) $task->files[] = $file;
|
||||
}
|
||||
$this->view->fromBug = $bug;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -150,6 +150,12 @@
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php if($task->fromBug):?>
|
||||
<tr>
|
||||
<th><?php echo $lang->task->fromBug;?></th>
|
||||
<td><?php echo html::a($this->createLink('bug', 'view', "bugID=$task->fromBug"), "#$task->fromBug " . $fromBug->title, '_blank');?></td>
|
||||
</tr>
|
||||
<?php endif;?>
|
||||
<tr>
|
||||
<th><?php echo $lang->task->assignedTo;?></th>
|
||||
<td><?php echo $task->assignedTo ? $task->assignedToRealName . $lang->at . $task->assignedDate : '';?></td>
|
||||
|
||||
Reference in New Issue
Block a user