2023-05-16 10:47:08 +08:00

38 lines
1.8 KiB
PHP

<?php include '../../common/view/header.lite.html.php';?>
<div id='mainContent' class='main-content'>
<div class='main-header'>
<h2><?php echo $lang->testcase->bugs;?></h2>
</div>
<div class='bugsList'>
<table class='table table-fixed'>
<thead>
<tr class='text-center'>
<th class='c-id'><?php echo $lang->idAB;?></th>
<th class='w-p30'> <?php echo $lang->bug->title;?></th>
<th class='c-pri' title=<?php echo $lang->pri;?>><?php echo $lang->priAB;?></th>
<th class='c-type'><?php echo $lang->bug->type;?></th>
<th class='c-status'><?php echo $lang->statusAB;?></th>
<th class='c-user'><?php echo $lang->bug->assignedTo;?></th>
<th class='c-user'><?php echo $lang->bug->resolvedBy;?></th>
<th class='c-resolution'><?php echo $lang->bug->resolution;?></th>
</tr>
</thead>
<tbody>
<?php foreach($bugs as $key => $bug):?>
<tr class='text-center'>
<td><?php echo $bug->id;?></td>
<td class='text-left' title="<?php echo $bug->title?>"><?php echo $bug->title;?></td>
<td><span class='<?php echo 'pri' . zget($lang->bug->priList, $bug->pri, $bug->pri)?>'><?php echo $bug->pri == '0' ? '' : zget($lang->bug->priList, $bug->pri, $bug->pri);?></span></td>
<td><?php echo $lang->bug->typeList[$bug->type];?></td>
<td><?php echo $this->processStatus('bug', $bug);?></td>
<td><?php echo zget($users, $bug->assignedTo, $bug->assignedTo);?></td>
<td><?php echo zget($users, $bug->resolvedBy, $bug->resolvedBy);?></td>
<td><?php echo $lang->bug->resolutionList[$bug->resolution];?></td>
</tr>
<?php endforeach;?>
</tbody>
</table>
</div>
</div>
<?php include '../../common/view/footer.lite.html.php';?>