+ add owner to test task.

This commit is contained in:
wangchunsheng
2010-11-29 13:01:52 +00:00
parent f3ce18cba5
commit 01192daf5b
9 changed files with 27 additions and 3 deletions
+9
View File
@@ -13,6 +13,11 @@
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/datepicker.html.php';?>
<?php include '../../common/view/kindeditor.html.php';?>
<script language='Javascript'>
function loadBuilds()
{
}
</script>
<div class='yui-d0'>
<form method='post' target='hiddenwin'>
<table class='table-1'>
@@ -25,6 +30,10 @@
<th class='rowhead'><?php echo $lang->testtask->build;?></th>
<td><?php echo html::select('build', $builds, '', 'class=select-3');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->owner;?></th>
<td><?php echo html::select('owner', $users, '', 'class=select-3');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->begin;?></th>
<td><?php echo html::input('begin', '', "class='text-3 date'");?>
+4
View File
@@ -25,6 +25,10 @@
<th class='rowhead'><?php echo $lang->testtask->build;?></th>
<td><?php echo html::select('build', $builds, $task->build, 'class=select-3');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->owner;?></th>
<td><?php echo html::select('owner', $users, $task->owner, 'class=select-3');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->begin;?></th>
<td><?php echo html::input('begin', $task->begin, "class='text-3 date'");?>
+1 -1
View File
@@ -15,7 +15,7 @@
<div class='yui-d0'>
<h1>CASE#<?php echo $run->case->id. $lang->colon . $run->case->title;?></h1>
<?php foreach($results as $result):?>
<table class='table-1 bd-1px'>
<table class='table-1'>
<caption>RESULT#<?php echo $result->id . ' ' . $result->date . " <span class='$result->caseResult'>" . $lang->testcase->resultList[$result->caseResult] . '</span>';?></caption>
<tr>
<th class='w-30px'><?php echo $lang->testcase->stepID;?></th>
+1 -1
View File
@@ -14,7 +14,7 @@
<style>body{background:white}</style>
<div class='yui-d0'>
<form method='post'>
<table class='table-1 bd-1px'>
<table class='table-1'>
<caption class='caption-tl'>CASE#<?php echo $run->case->id. $lang->colon . $run->case->title;?></caption>
<tr class='colhead'>
<th class='w-30px'><?php echo $lang->testcase->stepID;?></th>
+4
View File
@@ -27,6 +27,10 @@
<th class='rowhead'><?php echo $lang->testtask->build;?></th>
<td><?php $task->buildName ? print($task->buildName) : print($task->build);?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->owner;?></th>
<td><?php echo $users[$task->owner];?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->begin;?></th>
<td><?php echo $task->begin;?></td>