summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2012-05-04 11:57:17 +0200
committerXavier Morel <xmo@openerp.com>2012-05-04 11:57:17 +0200
commit84cae313d28cdaa2b18325729831af75eea6d73c (patch)
tree2998c14a43a0b2ea494abb0c7376bbeca3c46a7a /addons/web/static/src/xml/base.xml
parent7e0bd0103bda6ebd25ee0edfd239df889b79ccf7 (diff)
[ADD] icons instead of category names for filters (and groupby filters)
bzr revid: xmo@openerp.com-20120504095717-va123l3gz3wvhjd1
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index bec0c1c5fb0..4b208a31b8f 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -1303,7 +1303,11 @@
type="button"
class="oe_searchview_facet">
<span class="oe_facet_remove">✖</span>
- <span class="oe_facet_category">
+
+ <span class="oe_facet_category oe_i" t-if="widget.model.has('icon')">
+ <t t-esc="widget.model.get('icon')"/>
+ </span
+ ><span class="oe_facet_category" t-if="!widget.model.has('icon')">
<t t-esc="widget.model.get('category')"/>
</span ><span/>
</button>