* adjust for import bug.

This commit is contained in:
wangyidong
2015-09-17 14:45:08 +08:00
parent 1747c0e0d2
commit df8478386a
3 changed files with 7 additions and 1 deletions
+1
View File
@@ -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
{
+6
View File
@@ -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>