restyling of view switcher

bzr revid: mit@openerp.com-20120409221056-xjuo8dmagjxp3mk5
This commit is contained in:
Minh Tran
2012-04-10 00:10:56 +02:00
parent 121345f0f7
commit d7d69a26c9
7 changed files with 179 additions and 67 deletions
+4 -5
View File
@@ -416,13 +416,12 @@
</div>
<div class="oe_view_manager_row">
<div class="oe_view_manager_buttons"/>
<div class="oe_view_manager_switch oe_button_group">
<ul class="oe_view_manager_switch oe_button_group oe_right">
<t t-if="widget.views_src.length != 1" t-foreach="widget.views_src" t-as="view">
<button type="button" 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">
<span><t t-esc="view.label || view.view_type"/></span>
</button>
<li><a t-attf-class="oe_vm_switch_#{view.view_type} oe_i" t-att-data-view-type="view.view_type" t-att-title="view.label || view.view_type">
</a></li>
</t>
</div>
</ul>
<div class="oe_view_manager_pager"/>
<div class="oe_view_manager_sidebar"/>
</div>