summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorFabien Meghazi <fme@openerp.com>2011-11-30 14:11:54 +0100
committerFabien Meghazi <fme@openerp.com>2011-11-30 14:11:54 +0100
commitb552ff1991575bf167e2fe889521aa9268ecd7fc (patch)
tree386e4dfb2fd5b84185e856710cf3f38cbf0570b4 /addons/web/static/src/xml/base.xml
parent4ceed8ea6be3c2c4a8707f0f66b75aa921921269 (diff)
[IMP] Seperate menu tips from action view manager's content
bzr revid: fme@openerp.com-20111130131154-cu9hrcxyjvw15wnc
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml28
1 files changed, 18 insertions, 10 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 23fa97ce7f5..754364c6c8d 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -418,6 +418,7 @@
</t>
<t t-name="ViewManager">
<table class="view-manager-main-table">
+ <tbody>
<tr>
<td class="view-manager-main-content">
<div class="oe-view-manager-header">
@@ -443,21 +444,28 @@
</t>
</td>
</tr>
+ </tbody>
</table>
</t>
<t t-extend="ViewManager" t-name="ViewManagerAction">
+ <t t-jquery=".view-manager-main-table tbody" t-operation="prepend">
+ <tr>
+ <td class="oe_view_manager_menu_tips" colspan="2">
+ <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>
+ <button type="button" name="disable">Disable all tips</button>
+ </div>
+ </blockquote>
+ </td>
+ </tr>
+ </t>
<t t-jquery=".oe-view-manager-header" t-operation="prepend">
- <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>
- <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>
+ <a class="oe-shortcut-toggle" title="Add / Remove Shortcut..."
+ href="javascript: void(0)"> </a>
<button t-if="self.session.debug" class="oe_get_xml_view">
View#<span></span>
</button>