* Finish task #63696,63695,63687.

This commit is contained in:
tianshujie
2022-08-10 09:02:49 +08:00
parent 038b43e8f5
commit 1838710b42
22 changed files with 315 additions and 164 deletions
+9 -2
View File
@@ -688,6 +688,8 @@ class bug extends control
$this->view->stepsRequired = strpos($this->config->bug->create->requiredFields, 'steps');
$this->view->isStepsTemplate = $steps == $this->lang->bug->tplStep . $this->lang->bug->tplResult . $this->lang->bug->tplExpect ? true : false;
$this->view->issueKey = $from == 'sonarqube' ? $output['sonarqubeID'] . ':' . $output['issueKey'] : '';
$this->view->osList = $this->bug->getObjectList('os');
$this->view->browserList = $this->bug->getObjectList('browser');
$this->display();
}
@@ -859,6 +861,9 @@ class bug extends control
$this->view->moduleID = $moduleID;
$this->view->branch = $branch;
$this->view->branches = $branches;
$this->view->osList = $this->bug->getObjectList('os');
$this->view->browserList = $this->bug->getObjectList('browser');
$this->display();
}
@@ -1168,6 +1173,8 @@ class bug extends control
$this->view->openedBuilds = $openedBuilds;
$this->view->resolvedBuilds = array('' => '') + $openedBuilds + $oldResolvedBuild;
$this->view->actions = $this->action->getList('bug', $bugID);
$this->view->osList = $this->bug->getObjectList('os');
$this->view->browserList = $this->bug->getObjectList('browser');
$this->display();
}
@@ -1379,8 +1386,8 @@ class bug extends control
$this->view->priList = array('0' => '', 'ditto' => $this->lang->bug->ditto) + $this->lang->bug->priList;
$this->view->resolutionList = array('' => '', 'ditto' => $this->lang->bug->ditto) + $this->lang->bug->resolutionList;
$this->view->statusList = array('' => '', 'ditto' => $this->lang->bug->ditto) + $this->lang->bug->statusList;
$this->view->osList = array('' => '', 'ditto' => $this->lang->bug->ditto) + $this->lang->bug->osList;
$this->view->browserList = array('' => '', 'ditto' => $this->lang->bug->ditto) + $this->lang->bug->browserList;
$this->view->osList = $this->bug->getObjectList('os');
$this->view->browserList = $this->bug->getObjectList('browser');
$this->view->bugs = $bugs;
$this->view->branch = $branch;
$this->view->users = $users;