Adding per-page titles throughout PHPCI, fixes #371
This commit is contained in:
parent
d1080e2cb1
commit
08afe7b104
7 changed files with 29 additions and 1 deletions
|
|
@ -40,6 +40,9 @@ class BuildController extends \PHPCI\Controller
|
|||
$this->view->plugins = $this->getUiPlugins();
|
||||
$this->view->build = $build;
|
||||
$this->view->data = $this->getBuildData($build);
|
||||
|
||||
$title = 'Build #' . $build->getId() . ' - ' . $build->getProjectTitle();
|
||||
$this->config->set('page_title', $title);
|
||||
}
|
||||
|
||||
protected function getUiPlugins()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue