FormDataFilter: change icon for expression
This commit is contained in:
parent
7756736006
commit
037c588d26
|
@ -171,7 +171,7 @@ class Zend_View_Helper_FormDataFilter extends Zend_View_Helper_FormElement
|
|||
. $this->selectSign($filter)
|
||||
. $this->element($filter)
|
||||
. $this->removeLink($filter)
|
||||
. $this->addLink($filter);
|
||||
. $this->expandLink($filter);
|
||||
}
|
||||
|
||||
protected function renderFilterExpression(FilterExpression $filter, $level)
|
||||
|
@ -441,6 +441,15 @@ class Zend_View_Helper_FormDataFilter extends Zend_View_Helper_FormElement
|
|||
);
|
||||
}
|
||||
|
||||
protected function expandLink(Filter $filter)
|
||||
{
|
||||
return $this->filterActionButton(
|
||||
$filter,
|
||||
'angle-double-right',
|
||||
t('Wrap this expression into an operator')
|
||||
);
|
||||
}
|
||||
|
||||
protected function stripLink(Filter $filter)
|
||||
{
|
||||
return $this->filterActionButton(
|
||||
|
|
|
@ -22,11 +22,12 @@ use Icinga\Exception\ProgrammingError;
|
|||
class IconHelper
|
||||
{
|
||||
private $icons = array(
|
||||
'minus' => 'e806',
|
||||
'trash' => 'e846',
|
||||
'plus' => 'e805',
|
||||
'cancel' => 'e804',
|
||||
'help' => 'e85b',
|
||||
'minus' => 'e806',
|
||||
'trash' => 'e846',
|
||||
'plus' => 'e805',
|
||||
'cancel' => 'e804',
|
||||
'help' => 'e85b',
|
||||
'angle-double-right' => 'e87b',
|
||||
);
|
||||
|
||||
private $mappedUtf8Icons;
|
||||
|
|
Loading…
Reference in New Issue