diff --git a/application/controllers/HostController.php b/application/controllers/HostController.php index d7000d71..f4fff527 100644 --- a/application/controllers/HostController.php +++ b/application/controllers/HostController.php @@ -62,7 +62,7 @@ class HostController extends ObjectController $this->getTabs()->activate('services'); $this->view->title = sprintf( - $this->translate('Services on %s'), + $this->translate('Services: %s'), $host->object_name ); $this->view->table = $this->loadTable('IcingaHostService') diff --git a/library/Director/Web/Controller/ObjectController.php b/library/Director/Web/Controller/ObjectController.php index d657b8a0..ded12395 100644 --- a/library/Director/Web/Controller/ObjectController.php +++ b/library/Director/Web/Controller/ObjectController.php @@ -259,7 +259,10 @@ abstract class ObjectController extends ActionController $db = $this->db(); $type = $this->getType(); $this->getTabs()->activate('history'); - $this->view->title = $this->translate('Activity Log'); + $this->view->title = sprintf( + $this->translate('Activity Log: %s'), + $this->object->object_name + ); $lastDeployedId = $db->getLastDeploymentActivityLogId(); $this->view->table = $this->applyPaginationLimits( $this->loadTable('activityLog') diff --git a/library/Director/Web/Controller/ObjectsController.php b/library/Director/Web/Controller/ObjectsController.php index cfbcfd25..55d041d0 100644 --- a/library/Director/Web/Controller/ObjectsController.php +++ b/library/Director/Web/Controller/ObjectsController.php @@ -97,7 +97,7 @@ abstract class ObjectsController extends ActionController array('class' => 'icon-plus') ); - $this->view->title = $this->translate('Icinga ' . ucfirst($ltype)); + $this->view->title = $this->translate('Icinga ' . ucfirst($ltype) . 's'); $table = $this->loadTable($table)->setConnection($this->db()); $this->view->filterEditor = $table->getFilterEditor($this->getRequest());