ObjectController: fix inverted titles

This commit is contained in:
Thomas Gelf 2015-07-30 16:51:20 +02:00
parent 77dc7e24d3
commit bdb7d22e99
1 changed files with 2 additions and 2 deletions

View File

@ -113,9 +113,9 @@ abstract class ObjectController extends ActionController
if ($this->params->get('type') === 'template') {
$form->setObjectType('template');
$title = $this->translate('Add new Icinga %s');
} else {
$title = $this->translate('Add new Icinga %s template');
} else {
$title = $this->translate('Add new Icinga %s');
}
$this->view->title = sprintf($title, ucfirst($ltype));