summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorAntoine Huvelle <ahu@openerp.com>2011-12-14 13:21:19 +0100
committerAntoine Huvelle <ahu@openerp.com>2011-12-14 13:21:19 +0100
commitfbf92784c4ae8cff3f0cdc21e7a23228d048f41f (patch)
treefcd116793f6302ff8c29a7ec58ba375b9186952f /addons/web/static/src
parent5dd3318ca014d2e7ffb6f7c11fd76d7788447574 (diff)
[ADD] adding view selection images + changes in xml files: remove text on buttons and add title instead
bzr revid: ahu@openerp.com-20111214122119-xijfrckuf99bhxq2
Diffstat (limited to 'addons/web/static/src')
-rw-r--r--addons/web/static/src/css/base.css3
-rw-r--r--addons/web/static/src/img/views-icons-a.pngbin0 -> 1224 bytes
-rw-r--r--addons/web/static/src/xml/base.xml4
3 files changed, 4 insertions, 3 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index 2593c12473e..4487c72e8b3 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -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;
}
diff --git a/addons/web/static/src/img/views-icons-a.png b/addons/web/static/src/img/views-icons-a.png
new file mode 100644
index 00000000000..0be5b655e66
--- /dev/null
+++ b/addons/web/static/src/img/views-icons-a.png
Binary files differ
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 57ac42cc25f..73b0b59125e 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -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>