[icinga-checkins] icinga.org: icingaweb2/feature/redesign-7144: Widget\Filter*: fix parse error, replace minus

git at icinga.org git at icinga.org
Thu Nov 13 21:48:03 CET 2014


Module: icingaweb2
Branch: feature/redesign-7144
Commit: d55c2a4c87ff125676d9a28a04a53f9884ddcd8f
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=d55c2a4c87ff125676d9a28a04a53f9884ddcd8f

Author: Thomas Gelf <thomas at gelf.net>
Date:   Thu Nov 13 21:47:40 2014 +0100

Widget\Filter*: fix parse error, replace minus

---

 library/Icinga/Web/Widget/FilterEditor.php |    2 +-
 library/Icinga/Web/Widget/FilterWidget.php |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/library/Icinga/Web/Widget/FilterEditor.php b/library/Icinga/Web/Widget/FilterEditor.php
index 69c8e9d..f91c446 100644
--- a/library/Icinga/Web/Widget/FilterEditor.php
+++ b/library/Icinga/Web/Widget/FilterEditor.php
@@ -95,7 +95,7 @@ class FilterEditor extends AbstractWidget
         $removeUrl->setParam('removeFilter', $idx);
         $removeLink = ' <a href="' . $removeUrl . '" title="'
              . $view->escape(t('Click to remove this part of your filter'))
-             . '">' . $view->icon('minus .  '</a>';
+             . '">' . $view->icon('cancel') .  '</a>';
 
         /*
         // Temporarilly removed, not implemented yet
diff --git a/library/Icinga/Web/Widget/FilterWidget.php b/library/Icinga/Web/Widget/FilterWidget.php
index acd0c57..cf47ef5 100644
--- a/library/Icinga/Web/Widget/FilterWidget.php
+++ b/library/Icinga/Web/Widget/FilterWidget.php
@@ -98,7 +98,7 @@ class FilterWidget extends AbstractWidget
                 . '" title="'
                 . t('Remove this filter')
                 . '">'
-                . $view->icon('minus')
+                . $view->icon('cancel')
                 . '</a>';
         }
         $filter = $this->filter->isEmpty() ? '' : ': ' . $this->filter;



More information about the icinga-checkins mailing list