* adjust title.
This commit is contained in:
@@ -343,7 +343,7 @@ class bug extends control
|
||||
$productName = $this->products[$productID];
|
||||
|
||||
/* Header and positon. */
|
||||
$this->view->header->title = "BUG #$bug->id $bug->title/" . $this->products[$productID];
|
||||
$this->view->header->title = "BUG #$bug->id $bug->title - " . $this->products[$productID];
|
||||
$this->view->position[] = html::a($this->createLink('bug', 'browse', "productID=$productID"), $productName);
|
||||
$this->view->position[] = $this->lang->bug->view;
|
||||
|
||||
|
||||
@@ -123,9 +123,10 @@ class build extends control
|
||||
$this->loadModel('common')->saveQueryCondition($this->dao->get(), 'bug');
|
||||
|
||||
$this->loadModel('project')->setMenu($this->project->getPairs(), $build->project);
|
||||
$projects = $this->project->getPairs();
|
||||
|
||||
/* Assign. */
|
||||
$this->view->header->title = "BUILD #$build->id $build->name/" . $projects[$build->project];
|
||||
$projects = $this->project->getPairs();
|
||||
$this->view->header->title = "BUILD #$build->id $build->name - " . $projects[$build->project];
|
||||
$this->view->position[] = $this->lang->build->view;
|
||||
$this->view->products = $this->project->getProducts($build->project);
|
||||
$this->view->users = $this->loadModel('user')->getPairs('noletter');
|
||||
|
||||
@@ -14,7 +14,7 @@ $clientTheme = $this->app->getClientTheme();
|
||||
<?php
|
||||
$header = isset($header) ? (object)$header : new stdclass();
|
||||
if(!isset($header->title)) $header->title = $lang->ZenTaoPMS;
|
||||
echo html::title($header->title . ' / ' . $lang->ZenTaoPMS);
|
||||
echo html::title($header->title . ' - ' . $lang->ZenTaoPMS);
|
||||
|
||||
js::exportConfigVars();
|
||||
if($config->debug)
|
||||
|
||||
Reference in New Issue
Block a user