diff options
| author | vta vta@openerp.com <> | 2012-12-20 16:07:16 +0100 |
|---|---|---|
| committer | vta vta@openerp.com <> | 2012-12-20 16:07:16 +0100 |
| commit | 948d5664035af4a40b60c7d305e4df66451564d9 (patch) | |
| tree | 848505f943c14474e985150e9d0aa82df6f7e171 /addons/web/static/src/xml/base.xml | |
| parent | a02c785b8627e04b13bdedae1a5316b70bb58bae (diff) | |
| parent | 44f27eca8e78c85629c18902dea1153eea8320e4 (diff) | |
[MERGE] Improvement on m2obutton widget
bzr revid: vta@openerp.com-20121220150716-a8w94s74x9ejqch5
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 877a2c183ee..38628b4d7f7 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -780,7 +780,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 @@ -1111,7 +1111,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"> |
