[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
This commit is contained in:
parent
901596adce
commit
d6456b277e
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue