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->selectSign($filter)
|
||||||
. $this->element($filter)
|
. $this->element($filter)
|
||||||
. $this->removeLink($filter)
|
. $this->removeLink($filter)
|
||||||
. $this->addLink($filter);
|
. $this->expandLink($filter);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function renderFilterExpression(FilterExpression $filter, $level)
|
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)
|
protected function stripLink(Filter $filter)
|
||||||
{
|
{
|
||||||
return $this->filterActionButton(
|
return $this->filterActionButton(
|
||||||
|
|
|
@ -27,6 +27,7 @@ class IconHelper
|
||||||
'plus' => 'e805',
|
'plus' => 'e805',
|
||||||
'cancel' => 'e804',
|
'cancel' => 'e804',
|
||||||
'help' => 'e85b',
|
'help' => 'e85b',
|
||||||
|
'angle-double-right' => 'e87b',
|
||||||
);
|
);
|
||||||
|
|
||||||
private $mappedUtf8Icons;
|
private $mappedUtf8Icons;
|
||||||
|
|
Loading…
Reference in New Issue