summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2011-11-16 14:48:05 +0100
committerXavier Morel <xmo@openerp.com>2011-11-16 14:48:05 +0100
commitd6456b277ec87eae92738c44145e81eeae4fd815 (patch)
tree69b4a2405aa5b6cf3f085795c3aef39a3951d949 /addons/web/static/src/xml/base.xml
parent901596adce91da1177ecece8efd62ad1030496b0 (diff)
[FIX] you get an icon, you get an icon, everybody gets anb icon!
if a searchview filter does not have an icon, default to gtk-home bzr revid: xmo@openerp.com-20111116134805-yd4ze31j8zc5fw7u
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 92a3e5ffc43..894579869a0 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -1163,8 +1163,8 @@
t-att-title="attrs.help"
t-att-class="classes.join(' ')"
t-att-autofocus="attrs.default_focus === '1' ? 'autofocus' : undefined">
- <img t-if="attrs.icon" t-att-src="'/web/static/src/img/icons/' + attrs.icon + '.png'" width="16" height="16"/>
- <br t-if="attrs.icon and attrs.string"/>
+ <img t-att-src="'/web/static/src/img/icons/' + (attrs.icon || 'gtk-home') + '.png'" width="16" height="16"/>
+ <br t-if="attrs.string"/>
<t t-esc="attrs.string"/>
</button>
<span t-name="SearchView.filters" class="filter_label_group"