From bdb7d22e99b1dc550982dccf6cc824640c0ec5a6 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Thu, 30 Jul 2015 16:51:20 +0200 Subject: [PATCH] ObjectController: fix inverted titles --- library/Director/Web/Controller/ObjectController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/Director/Web/Controller/ObjectController.php b/library/Director/Web/Controller/ObjectController.php index 032ea127..a7a72dd5 100644 --- a/library/Director/Web/Controller/ObjectController.php +++ b/library/Director/Web/Controller/ObjectController.php @@ -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));