* add bug link for imported bugs.

This commit is contained in:
wangchunsheng
2012-07-01 02:48:44 +00:00
parent 454437f440
commit 064d2ea36c

View File

@@ -95,9 +95,8 @@ var browseType = '<?php echo $browseType;?>';
<td><?php echo $lang->task->priList[$task->pri];?></td>
<td class='a-left nobr'>
<?php
if($task->fromBug != 0) echo "<span class='bug'>[BUG] </span>";
else echo "<span class='task'>[TASK] </span>";
if(!common::printLink('task', 'view', "task=$task->id", $task->name)) echo $task->name;
if($task->fromBug) echo html::a($this->createLink('bug', 'view', "id=$task->fromBug"), "[BUG#$task->fromBug]", '_blank', "class='bug'");
?>
</td>
<td class=<?php echo $task->status;?> >