diff options
| author | Fabien Meghazi <fme@openerp.com> | 2012-06-18 15:19:30 +0200 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2012-06-18 15:19:30 +0200 |
| commit | 50218954c9322cadd481d2cff49e9f2368f979c6 (patch) | |
| tree | f252478c3cd097bd9824fddeafe8f1773f058f9b /addons/web/static/src/xml/base.xml | |
| parent | 3caa74a80c987d6316913fb8ae9551f62926344e (diff) | |
[FIX] Sidebar: only show delete icon for attachment section
bzr revid: fme@openerp.com-20120618131930-c16t4i7yysk3hkhy
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 32bd5e210fd..2a51e179f08 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -516,7 +516,7 @@ <a class="oe_sidebar_action_a" t-att-title="item.title" t-att-data-section="section.name" t-att-data-index="item_index" t-att-href="item.url" target="_blank"> <t t-raw="item.label"/> </a> - <a class="oe_sidebar_delete_item" t-att-data-id="item.id" title="Delete this attachment">x</a> + <a t-if="section.name == 'files'" class="oe_sidebar_delete_item" t-att-data-id="item.id" title="Delete this attachment">x</a> </li> <li t-if="section.name == 'files'" class="oe_sidebar_add_attachment"> <t t-call="HiddenInputFile"> |
