diff --git a/module/testcase/view/create.html.php b/module/testcase/view/create.html.php index 66e9208b6a..e734e65ed7 100644 --- a/module/testcase/view/create.html.php +++ b/module/testcase/view/create.html.php @@ -28,8 +28,8 @@ - - + - + - +
testcase->product;?> + testcase->product;?>
session->currentProductType != 'normal') echo html::select('branch', $branches, $branch, "onchange='loadBranch();' class='form-control' style='width:120px'");?> @@ -104,13 +104,36 @@
testcase->pri;?>testcase->priList, $pri, "class='form-control minw-80px chosen'");?> + testcase->priList as $priKey => $priValue) + { + if(!empty($priKey) and (string)$priKey != (string)$priValue) + { + $hasCustomPri = true; + break; + } + } + $priList = $lang->testcase->priList; + if(end($priList)) + { + unset($priList[0]); + $priList[0] = ''; + } + ?> + + + + + +
testcase->precondition;?>
testcase->steps;?> @@ -171,18 +194,18 @@
- + testcase->keywords;?> - + testcase->files;?> fetch('file', 'buildform');?> - + @@ -190,7 +213,7 @@ save, '', 'btn btn-wide btn-primary'); echo '   '; - echo html::backButton($lang->goback, '', 'btn btn-wide btn-gray'); + echo html::backButton($lang->goback, '', 'btn btn-wide'); ?>