ActionController: fix indentation

This commit is contained in:
Thomas Gelf 2017-01-13 19:59:11 +01:00
parent b931254087
commit 2416007b24
1 changed files with 22 additions and 22 deletions

View File

@ -278,20 +278,7 @@ abstract class ActionController extends Controller
);
} else {
$this->view->addLink .= ' ' . $this->view->qlink(
$this->translate('Filter'),
$this->getRequest()->getUrl()->with('modifyFilter', true),
null,
array(
'class' => 'icon-search',
'data-base-target' => '_self',
)
);
}
} else {
$this->view->addLink .= ' ' . $this->view->qlink(
$this->shorten($filter, 32),
$this->translate('Filter'),
$this->getRequest()->getUrl()->with('modifyFilter', true),
null,
array(
@ -299,16 +286,29 @@ abstract class ActionController extends Controller
'data-base-target' => '_self',
)
);
}
} else {
$this->view->addLink .= ' ' . $this->view->qlink(
$this->translate('Show unfiltered'),
$this->getRequest()->getUrl()->setParams(array()),
null,
array(
'class' => 'icon-cancel',
'data-base-target' => '_self',
)
);
$this->shorten($filter, 32),
$this->getRequest()->getUrl()->with('modifyFilter', true),
null,
array(
'class' => 'icon-search',
'data-base-target' => '_self',
)
);
$this->view->addLink .= ' ' . $this->view->qlink(
$this->translate('Show unfiltered'),
$this->getRequest()->getUrl()->setParams(array()),
null,
array(
'class' => 'icon-cancel',
'data-base-target' => '_self',
)
);
}
if ($this->params->get('modifyFilter')) {