* Adjust bug list.

This commit is contained in:
chencongzhi520@gmail.com
2012-06-30 08:44:09 +00:00
parent f89921cd2e
commit e8e0b76412
2 changed files with 4 additions and 18 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
.closed, .closed a{color:gray; text-decoration:line-through;font-weight:bold }
.closed, .closed a{color:gray; text-decoration:line-through;}
.resolved, .resolved a{color:#8EC21F; text-decoration:none;}
.resolved, .resolved a{color:#8EC21F; text-decoration:none; font-weight:bold}
.confirm0 {color:gray; font-size:9px}
.confirm1 {color:green; font-size:9px}
tfoot .f-left {color:#141414;}
+2 -16
View File
@@ -101,7 +101,7 @@ var customed = <?php echo (int)$customed;?>;
<?php foreach($bugs as $bug):?>
<?php $bugLink = inlink('view', "bugID=$bug->id");?>
<tr class='a-center'>
<td class='<?php echo $bug->status;?>'><?php echo html::a($bugLink, sprintf('%03d', $bug->id));?></td>
<td class='<?php echo $bug->status;?>' style="font-weight:bold"><?php echo html::a($bugLink, sprintf('%03d', $bug->id));?></td>
<td>
<span class='<?php echo 'severity' . $bug->severity;?>'>&nbsp;</span>
<?php echo $lang->bug->severityList[$bug->severity]?>
@@ -149,21 +149,7 @@ var customed = <?php echo (int)$customed;?>;
<tfoot>
<tr>
<?php $columns = $this->cookie->windowWidth >= $this->config->wideSize ? 12 : 9;?>
<td colspan='<?php echo $columns;?>'>
<div class='f-left'>
<?php
foreach($lang->bug->statusList as $status => $label)
{
if($status != 'active')
{
echo "<span class='$status'> $label </span> ";
continue;
}
}
?>
</div>
<div class='f-right'><?php $pager->show();?></div>
</td>
<td colspan='<?php echo $columns;?>'><?php $pager->show();?></td>
</tr>
</tfoot>
</table>