diff --git a/module/testcase/view/caseheader.html.php b/module/testcase/view/caseheader.html.php index 4ec606cc2a..892af31102 100644 --- a/module/testcase/view/caseheader.html.php +++ b/module/testcase/view/caseheader.html.php @@ -138,8 +138,8 @@ foreach($suiteList as $suiteID => $suite) { $suiteName = $suite->name; - if($suite->type == 'public') $suiteName .= " {$lang->testsuite->authorList[$suite->type]}"; - if($suite->type == 'private') $suiteName .= " {$lang->testsuite->authorList[$suite->type]}"; + if($suite->type == 'public') $suiteName .= " {$lang->testsuite->authorList[$suite->type]}"; + if($suite->type == 'private') $suiteName .= " {$lang->testsuite->authorList[$suite->type]}"; echo ''; echo html::a($this->createLink('testcase', 'browse', "productID=$productID&branch=$branch&browseType=bySuite¶m=$suiteID"), $suiteName); diff --git a/module/testcase/view/view.html.php b/module/testcase/view/view.html.php index 259b60b8a7..06c7884e6e 100644 --- a/module/testcase/view/view.html.php +++ b/module/testcase/view/view.html.php @@ -26,8 +26,8 @@ version > 1):?> - - + +   - + @@ -52,36 +52,38 @@
testcase->steps;?>
- - - - - - - - - steps as $stepID => $step) - { - $stepClass = "step-{$step->type}"; - if($step->type == 'group' or $step->type == 'step') - { - $stepId++; - $childId = 0; - } - if($step->type == 'step') $stepClass = 'step-group'; - echo ""; - echo ""; - echo ""; - echo ""; - echo ""; - $childId ++; - } - ?> -
testcase->stepID;?>testcase->stepDesc;?>testcase->stepExpect;?>
$stepId
"; - if($step->type == 'item') echo "{$stepId}.{$childId}"; - echo nl2br($step->desc) . "
" . nl2br($step->expect) . "
+
+ + + + + + + + + steps as $stepID => $step) + { + $stepClass = "step-{$step->type}"; + if($step->type == 'group' or $step->type == 'step') + { + $stepId++; + $childId = 0; + } + if($step->type == 'step') $stepClass = 'step-group'; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + $childId ++; + } + ?> +
testcase->stepID;?>testcase->stepDesc;?>testcase->stepExpect;?>
$stepId
"; + if($step->type == 'item') echo "{$stepId}.{$childId}"; + echo nl2br($step->desc) . "
" . nl2br($step->expect) . "
+
fetch('file', 'printFiles', array('files' => $case->files, 'fieldset' => 'true'));?>