summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorAntony Lesuisse <al@openerp.com>2012-04-02 19:11:44 +0200
committerAntony Lesuisse <al@openerp.com>2012-04-02 19:11:44 +0200
commita015651b0c38a9017ac2ecd750d72aa5bb3dfc88 (patch)
treedf0c5ca99653b3d91bfbc7eff15e1dd106c47238 /addons/web/static/src/xml/base.xml
parentab3d43e55e943e4f041555f8c385cf734af6c1d0 (diff)
parent037793e811b16c8b316dc23dc87a4e832e8482e1 (diff)
merge mit kanban and sidebar
bzr revid: al@openerp.com-20120402171144-qgfphy862ogw041f
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml24
1 files changed, 12 insertions, 12 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 2619afbaaa9..92edb58a7d7 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -532,8 +532,8 @@
</div>
</t>
<t t-name="Sidebar.section">
- <div t-att-id="section_id" t-att-class="classname">
- <h2><t t-esc="name"/></h2>
+ <div t-att-id="section_id" t-attf-class="#{classname} oe_form_dropdown_section ">
+ <button class="oe_dropdown_toggle"><t t-esc="name"/></button>
</div>
</t>
<t t-name="Sidebar.section.items">
@@ -1142,6 +1142,16 @@
</div>
</t>
<t t-name="FieldStatus.content">
+ <ul class="oe-arrow-list">
+ <t t-set="size" t-value="widget.to_show.length"/>
+ <t t-foreach="_.range(size)" t-as="i">
+ <li t-att-class="widget.to_show[i][0] === widget.selected_value ? 'oe-arrow-list-selected' : ''">
+ <span class="oe-arrow-list-before" t-if="i &gt; 0"></span><span><t t-esc="widget.to_show[i][1]"/></span><span class="oe-arrow-list-after" t-if="i &lt; size - 1"></span>
+ </li>
+ </t>
+ </ul>
+</t>
+<t t-name="FieldStatus.content">
<ul class="oe_form_steps">
<t t-set="size" t-value="widget.to_show.length"/>
<t t-foreach="_.range(size)" t-as="i">
@@ -1264,16 +1274,6 @@
</div>
</t>
</t>
-<t t-name="FieldStatus.content">
- <ul class="oe-arrow-list">
- <t t-set="size" t-value="widget.to_show.length"/>
- <t t-foreach="_.range(size)" t-as="i">
- <li t-att-class="widget.to_show[i][0] === widget.selected_value ? 'oe-arrow-list-selected' : ''">
- <span class="oe-arrow-list-before" t-if="i &gt; 0"></span><span><t t-esc="widget.to_show[i][1]"/></span><span class="oe-arrow-list-after" t-if="i &lt; size - 1"></span>
- </li>
- </t>
- </ul>
-</t>
<t t-name="WidgetButton">
<button type="button" class="oe_button oe_form_button"
t-att-tabindex="widget.node.attrs.tabindex"