summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2011-09-14 12:08:33 +0200
committerXavier Morel <xmo@openerp.com>2011-09-14 12:08:33 +0200
commite70ebcab8de4a0502433db7cd0c3d73712545392 (patch)
treececfc23ccda763cebb1a9e09286d73ecb50b74b6 /addons/web/static/src/xml
parent45d13bbe1d5793ed86ce52132d7b9b754f70fd49 (diff)
[ADD] ability to hide menu help, only this or all help sections
bzr revid: xmo@openerp.com-20110914100833-fo4arcaa92zu1361
Diffstat (limited to 'addons/web/static/src/xml')
-rw-r--r--addons/web/static/src/xml/base.xml10
1 files changed, 7 insertions, 3 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 750a42451a8..9007955b056 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -445,9 +445,13 @@
<t t-extend="ViewManager" t-name="ViewManagerAction">
<t t-jquery=".oe-view-manager-header" t-operation="prepend">
- <blockquote t-if="self.action.help"><p>
- <t t-esc="self.action.help"/>
- </p></blockquote>
+ <blockquote t-if="self.action.help">
+ <p><t t-esc="self.action.help"/></p>
+ <div>
+ <button type="button" name="hide">Hide this tip</button>
+ <button type="button" name="disable">Disable all tips</button>
+ </div>
+ </blockquote>
<a class="oe-shortcut-toggle" title="Add / Remove Shortcut..."
href="javascript: void(0)"> </a>
<h2 class="oe_view_title">