* code for task#981.

This commit is contained in:
zhujinyong
2012-12-12 01:37:26 +00:00
parent 1bb978909d
commit bbe7892dbc
2 changed files with 6 additions and 13 deletions
+3 -3
View File
@@ -187,15 +187,15 @@
<table class='table-1 a-left'>
<tr>
<td class='rowhead w-p20'><?php echo $lang->testcase->fromBug;?></td>
<td><?php echo html::a($this->createLink('bug', 'view', "bugID=$case->fromBug"), $case->fromBugName);?></td>
<td><?php echo html::a($this->createLink('bug', 'view', "bugID=$case->fromBug"), $case->fromBugTitle);?></td>
</tr>
<tr>
<td valign="top" class='rowhead w-p20'><?php echo $lang->testcase->toBug;?></td>
<td>
<?php
foreach($case->toBugs as $bugID => $bug)
foreach($case->toBugs as $bugID => $bugTitle)
{
echo '<p style="margin-bottom:0;">' . html::a($this->createLink('bug', 'view', "bugID=$bugID"), $bug) . '</p>';
echo '<p style="margin-bottom:0;">' . html::a($this->createLink('bug', 'view', "bugID=$bugID"), $bugTitle) . '</p>';
}
?>
</td>