[ADD] adding view selection images + changes in xml files: remove text on buttons and add title instead

bzr revid: ahu@openerp.com-20111214122119-xijfrckuf99bhxq2
This commit is contained in:
Antoine Huvelle 2011-12-14 13:21:19 +01:00
parent 5dd3318ca0
commit fbf92784c4
3 changed files with 4 additions and 3 deletions

View File

@ -1770,6 +1770,9 @@ ul.oe-arrow-list li.oe-arrow-list-selected .oe-arrow-list-after {
height: 21px;
border: none;
}
.openerp .oe_vm_switch button {
background-position:0px 0px;
}
.openerp .oe_vm_switch button[data-view-type="list"] {
background-position:0px 0px;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -423,9 +423,7 @@
</h2>
<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"/>
</button>
<button type="button" t-att-data-view-type="view.view_type" t-att-title="view.view_type"></button>
</t>
</div>
</div>