first set of fix in js

This commit is contained in:
Jerome Sonnet (be-cloud.be) 2017-03-01 08:45:36 +00:00
parent c133a46acb
commit b07554acc6

View File

@ -2,8 +2,8 @@
<templates> <templates>
<t t-extend="Sidebar"> <t t-extend="Sidebar">
<t t-jquery="span.oe_sidebar_delete_item" t-operation="before"> <t t-jquery="span.oe_sidebar_delete_item" t-operation="before">
<span t-if="section.name == 'files' and !item.callback and item.url" href="#" class="oe-sidebar-attachment-preview" t-att-data-id="item.id" t-att-data-url="item.url" t-attf-title="Preview #{item.name}"> <span t-if="section.name == 'files' and !item.callback and item.url" href="#" class="oe-sidebar-attachment-preview" t-att-data-id="item.id" t-att-data-url="item.url" t-attf-title="Preview #{item.name}" style="padding:10px;">
<img t-att-src='_s + "/web/static/src/img/icons/gtk-print-preview.png"' width="12" height="12" border="0" style="padding:10px;"/> <img t-att-src='_s + "/web/static/src/img/icons/gtk-print-preview.png"' width="12" height="12" border="0" />
</span> </span>
</t> </t>
</t> </t>