summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2011-09-14 15:16:35 +0200
committerXavier Morel <xmo@openerp.com>2011-09-14 15:16:35 +0200
commit284f7467faa79d08778d5afb33de052ab1a850d4 (patch)
tree385cbfb779be9b055edb82ac271c4544b17b01df /addons/web/static/src/xml
parentc14d2b82cc03d9608cf91122bab37a602521ce0a (diff)
[ADD] low_profile action flag used by viewmanager to know if it needs to render the help menu (used by e.g. dashboards)
bzr revid: xmo@openerp.com-20110914131635-qyvwgvw2y67h9pu0
Diffstat (limited to 'addons/web/static/src/xml')
-rw-r--r--addons/web/static/src/xml/base.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index bf91e2d65e4..041e2ced2e9 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -445,7 +445,8 @@
<t t-extend="ViewManager" t-name="ViewManagerAction">
<t t-jquery=".oe-view-manager-header" t-operation="prepend">
- <blockquote t-if="self.action.help and !(self.action.id in self.session.hidden_menutips)">
+ <blockquote t-if="self.action.help and !self.flags.low_profile
+ and !(self.action.id in self.session.hidden_menutips)">
<p><t t-esc="self.action.help"/></p>
<div>
<button type="button" name="hide">Hide this tip</button>