diff --git a/application/controllers/ServicetemplatesController.php b/application/controllers/ServicetemplatesController.php index 33f9ad1c..09efe747 100644 --- a/application/controllers/ServicetemplatesController.php +++ b/application/controllers/ServicetemplatesController.php @@ -7,7 +7,6 @@ use Icinga\Module\Director\Web\Table\ServiceApplyRulesTable; use Icinga\Module\Director\Web\Table\ServicesOnHostsTable; use Icinga\Module\Director\Web\Table\ServiceTemplatesTable; use ipl\Html\Link; -use ipl\Web\Chart\Donut; class ServicetemplatesController extends SimpleController { @@ -15,8 +14,9 @@ class ServicetemplatesController extends SimpleController { $this->addSingleTab($this->translate('Service Templates')); if ($this->quickSearch()) { - + // Not yet } + $this->addTitle($this->translate('All your Service Templates')); $this->actions()->add( $this->getBackToDashboardLink() @@ -42,8 +42,9 @@ class ServicetemplatesController extends SimpleController { $this->addSingleTab($this->translate('Service Apply Rules')); if ($this->quickSearch()) { - + // Not yet } + $this->addTitle($this->translate('All your Service Apply Rules')); $this->actions()->add( $this->getBackToDashboardLink() diff --git a/library/Director/Web/Controller/SimpleController.php b/library/Director/Web/Controller/SimpleController.php index 529c645e..c526656c 100644 --- a/library/Director/Web/Controller/SimpleController.php +++ b/library/Director/Web/Controller/SimpleController.php @@ -62,14 +62,14 @@ abstract class SimpleController extends ActionController ]); $form->add( - Html::tag('input', [ - 'type' => 'text', - 'name' => 'q', - 'value' => $search, - 'placeholder' => $this->translate('Search...'), - 'class' => 'search' - ] - )); + Html::tag('input', [ + 'type' => 'text', + 'name' => 'q', + 'value' => $search, + 'placeholder' => $this->translate('Search...'), + 'class' => 'search' + ]) + ); $this->controls()->add($form);