* Fix bug #28490.
This commit is contained in:
@@ -41,11 +41,13 @@
|
||||
$waitCount = 0;
|
||||
$testingCount = 0;
|
||||
$blockedCount = 0;
|
||||
$doneCount = 0;
|
||||
?>
|
||||
<?php foreach($tasks as $task):?>
|
||||
<?php if($task->status == 'wait') $waitCount ++;?>
|
||||
<?php if($task->status == 'doing') $testingCount ++;?>
|
||||
<?php if($task->status == 'blocked') $blockedCount ++;?>
|
||||
<?php if($task->status == 'done') $doneCount ++;?>
|
||||
<tr>
|
||||
<td><?php echo html::a($this->createLink('testtask', 'view', "taskID=$task->id"), sprintf('%03d', $task->id));?></td>
|
||||
<td class='text-left nobr'><?php echo html::a($this->createLink('testtask', 'view', "taskID=$task->id"), $task->name);?></td>
|
||||
@@ -60,7 +62,7 @@
|
||||
</table>
|
||||
<?php if($tasks):?>
|
||||
<div class="table-footer">
|
||||
<div class="table-statistic"><?php echo sprintf($lang->testtask->allSummary, count($tasks), $waitCount, $testingCount, $blockedCount);?></div>
|
||||
<div class="table-statistic"><?php echo sprintf($lang->testtask->allSummary, count($tasks), $waitCount, $testingCount, $blockedCount, $doneCount);?></div>
|
||||
<?php $pager->show('right', 'pagerjs');?>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
|
||||
Reference in New Issue
Block a user