diff --git a/module/testcase/view/bugs.html.php b/module/testcase/view/bugs.html.php index 706ccd7196..e1384f1b93 100644 --- a/module/testcase/view/bugs.html.php +++ b/module/testcase/view/bugs.html.php @@ -1,40 +1,39 @@ -
-
- icons['report']);?> - testcase->bugs;?> +
+
+

testcase->bugs;?>

+
+
+
+ + + + + + + + + + + + + + + $bug):?> + + + + + + + + + + + + +
idAB;?> bug->title;?> priAB;?>bug->type;?>statusAB;?>bug->assignedTo;?>bug->resolvedBy;?>bug->resolution;?>
id;?>title;?>bug->priList, $bug->pri, $bug->pri)?>'>pri == '0' ? '' : zget($lang->bug->priList, $bug->pri, $bug->pri);?>bug->typeList[$bug->type];?>bug->statusList[$bug->status];?>assignedTo, $bug->assignedTo);?>resolvedBy, $bug->resolvedBy);?>bug->resolutionList[$bug->resolution];?>
+
-
-
- - - - - - - - - - - - - - - $bug):?> - - - - - - - - - - - - -
idAB;?> bug->title;?> priAB;?> bug->type;?>statusAB;?> bug->assignedTo;?> bug->resolvedBy;?> bug->resolution;?>
id;?>title;?>bug->priList, $bug->pri, $bug->pri)?>'>pri == '0' ? '' : zget($lang->bug->priList, $bug->pri, $bug->pri);?>bug->typeList[$bug->type];?>bug->statusList[$bug->status];?>assignedTo, $bug->assignedTo);?>resolvedBy, $bug->resolvedBy);?>bug->resolutionList[$bug->resolution];?>
-
-
diff --git a/module/testcase/view/edit.html.php b/module/testcase/view/edit.html.php index 395c219f78..486429170e 100644 --- a/module/testcase/view/edit.html.php +++ b/module/testcase/view/edit.html.php @@ -16,240 +16,240 @@ testcase->insertBefore);?> testcase->insertAfter);?>
-
-

- id;?> - createLink('testcase', 'view', "caseID=$case->id"), $case->title, '', 'class="case-title"');?> -

-
-
-
-
-
-
-
- - title, 'class="form-control" autocomplete="off" placeholder="' . $lang->case->title . '"');?> +
+

+ id;?> + createLink('testcase', 'view', "caseID=$case->id"), $case->title, '', 'class="case-title"');?> +

+
+ +
+
+
+
+
+ + title, 'class="form-control" autocomplete="off" placeholder="' . $lang->case->title . '"');?> +
+
+
+
testcase->precondition;?>
+
precondition, "rows='4' class='form-control'");?>
+
+
+
testcase->steps;?>
+
+ + + + + + + + + + + + + + + + + steps as $stepID => $step):?> + + + + + + + + +
testcase->stepID;?>testcase->stepDesc;?>testcase->stepExpect;?>actions;?>
+
+ + + + +
+ + +
+
+
+
+
+ + + +
+
+
+ + desc, "rows='1' class='form-control autosize step-steps'") ?> + + type)) $step->type = 'step';?> + +
+ type === 'group') echo ' checked' ?> /> + +
+
+
+
expect, "rows='1' class='form-control autosize step-expects'") ?> +
+ + + +
+
+
+
+
+
testcase->legendComment;?>
+
+
+
+ fetch('file', 'buildform');?> +
+
+ lastEditedDate);?> + + createLink('testcase', 'browse', "productID=$productID");?>"' /> +
+
-
-
testcase->precondition;?>
-
precondition, "rows='4' class='form-control'");?>
-
-
-
testcase->steps;?>
-
- - +
+
+
+
testcase->legendBasicInfo;?>
+
+ - - - - - - - - - + - - - steps as $stepID => $step):?> - - + + + + + + + - - - - -
testcase->stepID;?>testcase->stepDesc;?>testcase->stepExpect;?>actions;?>
testcase->lib;?>
- - - - -
- - -
-
-
-
-
- - - +
testcase->module;?> +
+ "; + echo html::a($this->createLink('tree', 'browse', "rootID=$libID&view=caselib¤tModuleID=0&branch=$case->branch"), $lang->tree->manage, '_blank'); + echo '  '; + echo html::a("javascript:loadLibModules($libID)", $lang->refresh); + echo ''; + } + ?> +
+
testcase->product;?>
- - desc, "rows='1' class='form-control autosize step-steps'") ?> - - type)) $step->type = 'step';?> - -
- type === 'group') echo ' checked' ?> /> - -
-
-
-
expect, "rows='1' class='form-control autosize step-expects'") ?> -
- - - + + session->currentProductType != 'normal') echo html::select('branch', $branches, $case->branch, "onchange='loadBranch();' class='form-control' style='width:65px'");?>
+ + testcase->module;?> + +
+ "; + echo html::a($this->createLink('tree', 'browse', "rootID=$productID&view=case¤tModuleID=0&branch=$case->branch"), $lang->tree->manage, '_blank'); + echo '  '; + echo html::a("javascript:loadProductModules($productID)", $lang->refresh); + echo ''; + } + ?> +
+ + + + config->global->flow != 'onlyTest'):?> + + testcase->story;?> +
story, 'class=form-control chosen');?>
+ + + + + testcase->type;?> + testcase->typeList, $case->type, "class='form-control chosen'");?> + + + testcase->stage;?> + testcase->stageList, $case->stage, "class='form-control chosen' multiple='multiple'");?> + + + testcase->pri;?> + testcase->priList, $case->pri, "class='form-control chosen'");?> + + + testcase->status;?> + testcase->statusList, $case->status, "class='form-control chosen'");?> + + + testcase->keywords;?> + keywords, "class='form-control' autocomplete='off'");?> + + + + testcase->linkCase;?> + createLink('testcase', 'linkCases', "caseID=$case->id", '', true), $lang->testcase->linkCases, '', "data-type='iframe' data-toggle='modal' data-width='95%'");?> + + + + +
    + linkCaseTitles)) + { + foreach($case->linkCaseTitles as $linkCaseID => $linkCaseTitle) + { + echo '
  • '; + echo html::a(inlink('view', "caseID=$linkCaseID"), "#$linkCaseID " . $linkCaseTitle, '_blank'); + echo html::a("javascript:unlinkCase($case->id, $linkCaseID)", '', '', "title='{$lang->unlink}' style='float:right'"); + echo '
  • '; + } + } + ?> +
+ + + + +
+
+
testcase->legendOpenAndEdit;?>
+ + + + + + + + + +
testcase->openedBy;?>openedBy] . $lang->at . $case->openedDate;?>
testcase->lblLastEdited;?>lastEditedBy) echo $users[$case->lastEditedBy] . $lang->at . $case->lastEditedDate;?>
+
-
-
testcase->legendComment;?>
-
-
-
- fetch('file', 'buildform');?> -
-
- lastEditedDate);?> - - createLink('testcase', 'browse', "productID=$productID");?>"' /> -
-
-
-
-
-
-
testcase->legendBasicInfo;?>
- - - - - - - - - - - - - - - - - - - - - config->global->flow != 'onlyTest'):?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
testcase->lib;?> -
- -
-
testcase->module;?> -
- "; - echo html::a($this->createLink('tree', 'browse', "rootID=$libID&view=caselib¤tModuleID=0&branch=$case->branch"), $lang->tree->manage, '_blank'); - echo '  '; - echo html::a("javascript:loadLibModules($libID)", $lang->refresh); - echo ''; - } - ?> -
-
testcase->product;?> -
- - session->currentProductType != 'normal') echo html::select('branch', $branches, $case->branch, "onchange='loadBranch();' class='form-control' style='width:65px'");?> -
-
testcase->module;?> -
- "; - echo html::a($this->createLink('tree', 'browse', "rootID=$productID&view=case¤tModuleID=0&branch=$case->branch"), $lang->tree->manage, '_blank'); - echo '  '; - echo html::a("javascript:loadProductModules($productID)", $lang->refresh); - echo ''; - } - ?> -
-
testcase->story;?>
story, 'class=form-control chosen');?>
-
testcase->type;?>testcase->typeList, $case->type, "class='form-control chosen'");?>
testcase->stage;?>testcase->stageList, $case->stage, "class='form-control chosen' multiple='multiple'");?>
testcase->pri;?>testcase->priList, $case->pri, "class='form-control chosen'");?>
testcase->status;?>testcase->statusList, $case->status, "class='form-control chosen'");?>
testcase->keywords;?>keywords, "class='form-control' autocomplete='off'");?>
testcase->linkCase;?>createLink('testcase', 'linkCases', "caseID=$case->id", '', true), $lang->testcase->linkCases, '', "data-type='iframe' data-toggle='modal' data-width='95%'");?>
-
    - linkCaseTitles)) - { - foreach($case->linkCaseTitles as $linkCaseID => $linkCaseTitle) - { - echo '
  • '; - echo html::a(inlink('view', "caseID=$linkCaseID"), "#$linkCaseID " . $linkCaseTitle, '_blank'); - echo html::a("javascript:unlinkCase($case->id, $linkCaseID)", '', '', "title='{$lang->unlink}' style='float:right'"); - echo '
  • '; - } - } - ?> -
-
-
-
-
testcase->legendOpenAndEdit;?>
- - - - - - - - - -
testcase->openedBy;?>openedBy] . $lang->at . $case->openedDate;?>
testcase->lblLastEdited;?>lastEditedBy) echo $users[$case->lastEditedBy] . $lang->at . $case->lastEditedDate;?>
-
-
-
-
- +