summaryrefslogtreecommitdiff
path: root/addons/base/static/src/xml/base.xml
diff options
context:
space:
mode:
authorAntony Lesuisse <al@openerp.com>2011-03-31 19:22:58 +0200
committerAntony Lesuisse <al@openerp.com>2011-03-31 19:22:58 +0200
commit0d9a59097094984c8e10bbc5bbf39b1862ef4028 (patch)
tree09b712be4411de18648fdb74939aa3c4bd2f5a2d /addons/base/static/src/xml/base.xml
parent6910a9c19af797bdee9c7d2dc315154810738c40 (diff)
parent79ce2be95efecbe39614a533524484abc4a99cd5 (diff)
[MERGE] fme viewmanager updates
bzr revid: al@openerp.com-20110331172258-vzrkxqeo4rk2lsvx
Diffstat (limited to 'addons/base/static/src/xml/base.xml')
-rw-r--r--addons/base/static/src/xml/base.xml9
1 files changed, 4 insertions, 5 deletions
diff --git a/addons/base/static/src/xml/base.xml b/addons/base/static/src/xml/base.xml
index 006f8106105..06c6ea43df7 100644
--- a/addons/base/static/src/xml/base.xml
+++ b/addons/base/static/src/xml/base.xml
@@ -126,12 +126,11 @@
</t>
<t t-name="ViewManager">
<!-- TODO prefix id with the element_id of the controller t-attf-id="#{prefix}_localid" -->
- <div style="text-align:right;">
- <!--
- <input t-foreach="views" t-as="view" t-att-id="" t-att-value="view[1]"/>
- -->
+ <div class="views_switchers">
<t t-foreach="views" t-as="view">
- <input t-attf-id="#{prefix}_button_#{view[1]}" type="button" t-att-value="view[1]"/>
+ <button type="button" t-att-data-view-type="view[1]">
+ <t t-esc="view[1]"/>
+ </button>
</t>
</div>
<div t-attf-id="#{prefix}_search"></div>