Add proper titles to the FilterEditor

refs #8458
This commit is contained in:
Johannes Meyer 2015-02-23 17:05:39 +01:00
parent 66305bd79a
commit b2f817925b
1 changed files with 4 additions and 2 deletions

View File

@ -310,7 +310,7 @@ class FilterEditor extends AbstractWidget
$this->preservedUrl()->with('removeFilter', $filter->getId()),
null,
array(
'title' => t('Click to remove this part of your filter'),
'title' => t('Remove this part of your filter'),
'class' => 'icon-cancel'
)
);
@ -323,7 +323,7 @@ class FilterEditor extends AbstractWidget
$this->preservedUrl()->with('addFilter', $filter->getId()),
null,
array(
'title' => t('Click to add another filter'),
'title' => t('Add another filter'),
'class' => 'icon-plus'
)
);
@ -666,6 +666,8 @@ class FilterEditor extends AbstractWidget
return $html
. '<a href="'
. $this->preservedUrl()->with('modifyFilter', true)
. '" aria-label="'
. $title
. '" title="'
. $title
. '">'