diff options
| author | vta vta@openerp.com <> | 2012-12-03 16:15:25 +0100 |
|---|---|---|
| committer | vta vta@openerp.com <> | 2012-12-03 16:15:25 +0100 |
| commit | 44f27eca8e78c85629c18902dea1153eea8320e4 (patch) | |
| tree | 9059707920f06d9d32e04dbe2a02bc797628f4a8 /addons/web/static/src/xml/base.xml | |
| parent | 6c00237919fd26c39a3a7eff399a4c1a02a7375d (diff) | |
[IMP] Improve M2OButton.
bzr revid: vta@openerp.com-20121203151525-j464860k1ueqztp6
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 4 |
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 65c96d05323..71591d2c5f9 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -760,7 +760,7 @@ t-att-title="widget.string" t-att-disabled="disabled || undefined" t-att-class="disabled ? 'oe_list_button_disabled' : undefined" ><img t-attf-src="#{prefix}/web/static/src/img/icons/#{widget.icon}.png" - t-att-alt="widget.string" /></button> + t-att-alt="widget.string"/></button> <t t-extend="ListView.row"> <!-- adds back padding to row being rendered after edition, if necessary (if not deletable add back padding), otherwise the row being added is @@ -1088,7 +1088,7 @@ </span> </t> <t t-name="Many2OneButton.cell" - ><img t-attf-src="#{_s}/web/static/src/img/icons/gtk-#{widget.has_value ? 'yes' : 'no'}.png" width="16" height="16"/> + ><img t-attf-src="#{prefix}/web/static/src/img/icons/#{widget.icon}.png" t-att-alt="widget.string" width="16" height="16"/> </t> <t t-name="FieldMany2ManyTags"> <div class="oe_form_field oe_tags" t-att-style="widget.node.attrs.style"> |
