Controllers: whitespace fixes

This commit is contained in:
Thomas Gelf 2017-04-24 13:15:04 +02:00
parent a85c812fce
commit cb1804111f
2 changed files with 12 additions and 11 deletions

View File

@ -7,7 +7,6 @@ use Icinga\Module\Director\Web\Table\ServiceApplyRulesTable;
use Icinga\Module\Director\Web\Table\ServicesOnHostsTable; use Icinga\Module\Director\Web\Table\ServicesOnHostsTable;
use Icinga\Module\Director\Web\Table\ServiceTemplatesTable; use Icinga\Module\Director\Web\Table\ServiceTemplatesTable;
use ipl\Html\Link; use ipl\Html\Link;
use ipl\Web\Chart\Donut;
class ServicetemplatesController extends SimpleController class ServicetemplatesController extends SimpleController
{ {
@ -15,8 +14,9 @@ class ServicetemplatesController extends SimpleController
{ {
$this->addSingleTab($this->translate('Service Templates')); $this->addSingleTab($this->translate('Service Templates'));
if ($this->quickSearch()) { if ($this->quickSearch()) {
// Not yet
} }
$this->addTitle($this->translate('All your Service Templates')); $this->addTitle($this->translate('All your Service Templates'));
$this->actions()->add( $this->actions()->add(
$this->getBackToDashboardLink() $this->getBackToDashboardLink()
@ -42,8 +42,9 @@ class ServicetemplatesController extends SimpleController
{ {
$this->addSingleTab($this->translate('Service Apply Rules')); $this->addSingleTab($this->translate('Service Apply Rules'));
if ($this->quickSearch()) { if ($this->quickSearch()) {
// Not yet
} }
$this->addTitle($this->translate('All your Service Apply Rules')); $this->addTitle($this->translate('All your Service Apply Rules'));
$this->actions()->add( $this->actions()->add(
$this->getBackToDashboardLink() $this->getBackToDashboardLink()

View File

@ -68,8 +68,8 @@ abstract class SimpleController extends ActionController
'value' => $search, 'value' => $search,
'placeholder' => $this->translate('Search...'), 'placeholder' => $this->translate('Search...'),
'class' => 'search' 'class' => 'search'
] ])
)); );
$this->controls()->add($form); $this->controls()->add($form);