summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorVaibhav (OpenERP) <vda@tinyerp.com>2011-09-12 13:54:26 +0530
committerVaibhav (OpenERP) <vda@tinyerp.com>2011-09-12 13:54:26 +0530
commit76356580349f3f11bcbe1eaf96ca3c309a60445e (patch)
treee5d831ab6dc898e17c4e831b26accb4755727757 /addons/web/static/src/xml/base.xml
parent8498eb0d07968b481371d15de3d138d5a04894fb (diff)
[FIX] Override viewmanager,show stars when called from actionmanager.
bzr revid: vda@tinyerp.com-20110912082426-snwh0cc5ac75g7xz
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml10
1 files changed, 8 insertions, 2 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 677488d9d7d..5c2b2f0000d 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -420,8 +420,6 @@
<table class="view-manager-main-table">
<tr>
<td class="view-manager-main-content">
- <a class="oe-shortcut-toggle" title="Add / Remove Shortcut..."
- href="javascript: void(0)"> </a>
<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">
@@ -442,6 +440,14 @@
</tr>
</table>
</t>
+
+<t t-extend="ViewManager">
+ <t t-jquery="table td:first-child" t-operation="prepend">
+ <a t-if="action" class="oe-shortcut-toggle" title="Add / Remove Shortcut..."
+ href="javascript: void(0)"> </a>
+ </t>
+</t>
+
<t t-name="Sidebar">
<a class="toggle-sidebar"></a>
<div class="sidebar-content">