* finish task #1140.

This commit is contained in:
wangyidong
2013-02-27 03:27:05 +00:00
parent 04fc7a1419
commit aac3545320
5 changed files with 28 additions and 7 deletions
+2 -1
View File
@@ -37,6 +37,7 @@
<tr class='a-center'>
<td colspan='5'>
<?php
if($preCase) echo html::linkButton($lang->testtask->pre, inlink('runCase', "runID={$preCase['runID']}&caseID={$preCase['caseID']}&version={$preCase['version']}"));
if(empty($run->case->steps))
{
echo html::submitButton($lang->testtask->pass, "onclick=$('#result').val('pass')");
@@ -45,7 +46,7 @@
else
{
echo html::submitButton();
echo html::submitButton($lang->testtask->passAll, "onclick=$('#passall').val(1)");
echo html::submitButton($lang->testtask->pass, "onclick=$('#passall').val(1)");
}
echo html::hidden('case', $run->case->id);
echo html::hidden('version', $run->case->version);