summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2011-09-14 11:34:09 +0200
committerXavier Morel <xmo@openerp.com>2011-09-14 11:34:09 +0200
commit45d13bbe1d5793ed86ce52132d7b9b754f70fd49 (patch)
treeaf9f3ab9733cd47952688697ad632658ab45ae74 /addons/web/static/src/xml/base.xml
parenta84f8fac3e42794ab62088eaa07b4d4af388fb43 (diff)
[ADD] menu tips on ViewManagerAction
bzr revid: xmo@openerp.com-20110914093409-1hc5skp9mn17ieir
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml19
1 files changed, 12 insertions, 7 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index fcd7f9a96b8..750a42451a8 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -420,12 +420,14 @@
<table class="view-manager-main-table">
<tr>
<td class="view-manager-main-content">
- <div class="oe_vm_switch">
- <t t-if="views.length != 1" t-foreach="views" t-as="view">
- <button type="button" t-att-data-view-type="view.view_type">
- <t t-esc="view.view_type"/>
- </button>
- </t>
+ <div class="oe-view-manager-header">
+ <div class="oe_vm_switch">
+ <t t-if="views.length != 1" t-foreach="views" t-as="view">
+ <button type="button" t-att-data-view-type="view.view_type">
+ <t t-esc="view.view_type"/>
+ </button>
+ </t>
+ </div>
</div>
<div t-attf-id="#{prefix}_search" t-opentag="true"/>
<t t-foreach="views" t-as="view">
@@ -442,7 +444,10 @@
</t>
<t t-extend="ViewManager" t-name="ViewManagerAction">
- <t t-jquery=".view-manager-main-content" t-operation="prepend">
+ <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>
<a class="oe-shortcut-toggle" title="Add / Remove Shortcut..."
href="javascript: void(0)"> </a>
<h2 class="oe_view_title">