Vishmita Jadeja (openerp) has proposed merging 
lp:~openerp-dev/openerp-web/trunk-remove-delete_icon into lp:openerp-web.

Requested reviews:
  Jiten (OpenERP) (jiten-openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-remove-delete_icon/+merge/128434


In Attachments,Remove 'X' icon from 'Add Google Docs..'.

-- 
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-remove-delete_icon/+merge/128434
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openerp-web/trunk-remove-delete_icon.
=== modified file 'addons/web/static/src/xml/base.xml'
--- addons/web/static/src/xml/base.xml	2012-10-04 09:44:29 +0000
+++ addons/web/static/src/xml/base.xml	2012-10-08 08:06:38 +0000
@@ -548,7 +548,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 t-if="section.name == 'files'" class="oe_sidebar_delete_item" t-att-data-id="item.id" title="Delete this attachment">x</a>
+                         <a t-if="section.name == 'files' and !item.deletable" 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">

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to