summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorFabien Meghazi <fme@openerp.com>2011-10-12 15:57:35 +0200
committerFabien Meghazi <fme@openerp.com>2011-10-12 15:57:35 +0200
commit65792ba3cb03dbb2459e25699897ec771a859a6e (patch)
tree40242cd9fc1097c6092f73f1f304a65f1fd5d1a1 /addons/web/static/src/xml/base.xml
parenteb796396e03f2e4fd5a4d267c7597218d67c7c16 (diff)
parent378a9de3e861f121e715278ef863fdc924ea3f3f (diff)
[MERGE] Change the way the sections and items are added to the sidebar
bzr revid: fme@openerp.com-20111012135735-6o905df1db7tmybh
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml11
1 files changed, 7 insertions, 4 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index c58e08474c8..9dc2bb7152a 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -467,17 +467,20 @@
</div>
</t>
<t t-name="Sidebar.section">
- <h2><t t-esc="name"/></h2>
<div t-att-id="section_id" t-att-class="classname">
- <ul t-if="items">
+ <h2><t t-esc="name"/></h2>
+ </div>
+</t>
+
+
+<t t-name="Sidebar.section.items">
<li t-foreach="items" t-as="item" t-att-class="item.classname">
<a class="oe_sidebar_action_a" t-att-id="item.element_id" t-att-title="item.title" href="#">
<t t-esc="item.label"/>
</a>
</li>
- </ul>
- </div>
</t>
+
<t t-name="TranslateDialog">
<ul class="oe_translate_tabs">
<li><a t-attf-href="##{widget.element_id}_fields">Fields</a></li>