[IMP] Add 'Switch to' to view switcher's tooltips

bzr revid: fme@openerp.com-20120607143319-phnj75kmpthimtbk
This commit is contained in:
Fabien Meghazi 2012-06-07 16:33:19 +02:00
parent 6e08596d2a
commit 9e18a2ba9f
1 changed files with 1 additions and 1 deletions

View File

@ -424,7 +424,7 @@
<td>
<ul class="oe_view_manager_switch oe_button_group oe_right">
<t t-if="widget.views_src.length > 2" t-foreach="widget.views_src" t-as="view">
<li t-if="view.view_type != 'form'" class="oe_e"><a t-attf-class="oe_vm_switch_#{view.view_type}" t-att-data-view-type="view.view_type" t-att-title="view.label || view.view_type">
<li t-if="view.view_type != 'form'" class="oe_e"><a t-attf-class="oe_vm_switch_#{view.view_type}" t-att-data-view-type="view.view_type" t-att-title="_t('Switch to ') + (view.label || view.view_type)">
</a></li>
</t>
</ul>