* Finish task #7407.
This commit is contained in:
@@ -655,7 +655,8 @@ class testcase extends control
|
||||
$this->view->moduleOptionMenu = $moduleOptionMenu;
|
||||
$this->view->stories = $this->story->getProductStoryPairs($productID, $case->branch);
|
||||
}
|
||||
if($this->testcase->forceNotReview()) unset($this->lang->testcase->statusList['wait']);
|
||||
$forceNotReview = $this->testcase->forceNotReview();
|
||||
if($forceNotReview) unset($this->lang->testcase->statusList['wait']);
|
||||
$position[] = $this->lang->testcase->common;
|
||||
$position[] = $this->lang->testcase->edit;
|
||||
|
||||
@@ -666,6 +667,7 @@ class testcase extends control
|
||||
$this->view->case = $case;
|
||||
$this->view->actions = $this->loadModel('action')->getList('case', $caseID);
|
||||
$this->view->isLibCase = $isLibCase;
|
||||
$this->view->forceNotReview = $forceNotReview;
|
||||
|
||||
$this->display();
|
||||
}
|
||||
|
||||
@@ -213,7 +213,11 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->testcase->status;?></th>
|
||||
<?php if(!$forceNotReview and $case->status == 'wait'):?>
|
||||
<td><?php echo $lang->testcase->statusList[$case->status];?>
|
||||
<?php else: ?>
|
||||
<td><?php echo html::select('status', (array)$lang->testcase->statusList, $case->status, "class='form-control chosen'");?></td>
|
||||
<?php endif; ?>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->testcase->keywords;?></th>
|
||||
|
||||
Reference in New Issue
Block a user