* finish the task #560.

This commit is contained in:
shiyangyangwork@yahoo.cn
2011-10-26 02:17:49 +00:00
parent 21f64f78b4
commit f34f7d8e7b
4 changed files with 22 additions and 6 deletions
+9 -2
View File
@@ -38,8 +38,15 @@
<tr class='a-center'>
<td colspan='5'>
<?php
echo html::submitButton();
echo html::submitButton($lang->testtask->passAll, "onclick=$('#passall').val(1)");
if(empty($run->case->steps))
{
echo html::submitButton($lang->testtask->pass, "onclick=$('#passall').val(1)");
}
else
{
echo html::submitButton();
echo html::submitButton($lang->testtask->passAll, "onclick=$('#passall').val(1)");
}
echo html::hidden('case', $run->case->id);
echo html::hidden('version', $run->case->version);
echo html::hidden('passall', 0);