summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2011-12-16 12:20:54 +0100
committerXavier Morel <xmo@openerp.com>2011-12-16 12:20:54 +0100
commit265d9e1ef4efebc15d5d04ef412de9f5452296c4 (patch)
tree010ad2c4193999d7663cb2b8cfbc282e9a5969a5 /addons/web/static/src/xml/base.xml
parentb3a04d317b078a474f8b6df8952cd039beacbde9 (diff)
[ADD] translatable name to views
lp bug: https://launchpad.net/bugs/904989 fixed bzr revid: xmo@openerp.com-20111216112054-xys9q3ap6dcatppr
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index ff21856aeff..c7b32cef6d7 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -424,7 +424,7 @@
<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">
- <t t-esc="view.view_type"/>
+ <t t-esc="view.label || view.view_type"/>
</button>
</t>
</div>