* Adjust the compile module.

This commit is contained in:
hufangzhou
2021-03-04 16:04:00 +08:00
parent 8b1c191842
commit 8ce9d8e273
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -64,8 +64,8 @@ class compile extends control
public function logs($buildID)
{
$build = $this->compile->getByID($buildID);
$this->view->logs = str_replace("\r\n","<br />", $build->logs);
$this->view->build = $build;
$this->view->logs = str_replace("\r\n","<br />", $build->logs);
$this->view->build = $build;
$this->view->title = $this->lang->ci->job . $this->lang->colon . $this->lang->compile->logs;
$this->view->position[] = html::a($this->createLink('job', 'browse'), $this->lang->ci->job);
+2 -2
View File
@@ -60,7 +60,7 @@ class compileModel extends model
/**
* Get last result.
*
* @param int $jobID
* @param int $jobID
* @access public
* @return object
*/
@@ -115,7 +115,7 @@ class compileModel extends model
/**
* Execute compile
*
* @param object $compile
* @param object $compile
* @access public
* @return bool
*/