HostController: nicer services title

This commit is contained in:
Thomas Gelf 2016-03-18 13:32:24 +01:00
parent de8539c50f
commit d66f519424
1 changed files with 4 additions and 1 deletions

View File

@ -43,7 +43,10 @@ class HostController extends ObjectController
);
$this->getTabs()->activate('services');
$this->view->title = $this->translate('Services');
$this->view->title = sprintf(
$this->translate('Services on %s'),
$host->object_name
);
$this->view->table = $this->loadTable('IcingaHostService')
->setHost($host)
->enforceFilter('host_id', $host->id)