ObjectController: fix inverted titles
This commit is contained in:
parent
77dc7e24d3
commit
bdb7d22e99
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue