* finish the task #692.

This commit is contained in:
shiyangyangwork@yahoo.cn
2012-02-10 01:31:52 +00:00
parent f2ef4a56f6
commit b1b04fde82
5 changed files with 11 additions and 7 deletions
+4 -4
View File
@@ -14,8 +14,8 @@
<?php include '../../common/view/tablesorter.html.php';?>
<table class='table-1 colored tablesorter fixed'>
<caption class='caption-tl'>
<div class='f-left'><?php echo $lang->testtask->browse;?></div>
<div class='f-right'><?php common::printLink('testtask', 'create', "product=0&project=$projectID", $lang->testtask->create);?></div>
<div class='f-left'><?php echo $lang->project->testtaskBrowse;?></div>
<div class='f-right'><?php common::printLink('testtask', 'create', "product=0&project=$projectID", $lang->project->createTesttask);?></div>
</caption>
<thead>
<tr class='colhead'>
@@ -32,8 +32,8 @@
<tbody>
<?php foreach($tasks as $task):?>
<tr class='a-center'>
<td><?php echo html::a(inlink('view', "taskID=$task->id"), sprintf('%03d', $task->id));?></td>
<td class='a-left nobr'><?php echo html::a(inlink('view', "taskID=$task->id"), $task->name);?></td>
<td><?php echo html::a($this->createLink('testtask', 'view', "taskID=$task->id"), sprintf('%03d', $task->id));?></td>
<td class='a-left nobr'><?php echo html::a($this->createLink('testtask', 'view', "taskID=$task->id"), $task->name);?></td>
<td class='nobr'><?php $task->build == 'trunk' ? print('Trunk') : print(html::a($this->createLink('build', 'view', "buildID=$task->build"), $task->buildName));?></td>
<td><?php echo $users[$task->owner];?></td>
<td><?php echo $task->begin?></td>