[FIX]Fixed code for showing process view icon on viewmanager.

bzr revid: kch@tinyerp.com-20111122113420-m5pme4wdkrfrrm19
This commit is contained in:
Kunal Chavda (OpenERP) 2011-11-22 17:04:20 +05:30
parent 7cffb9a12a
commit 1c7fa1fabc
3 changed files with 12 additions and 2 deletions

View File

@ -9,7 +9,7 @@
"static/src/css/process.css" "static/src/css/process.css"
], ],
'qweb': [ 'qweb': [
"static/src/xml/web_process.css" "static/src/xml/*.xml"
], ],
'active': True 'active': True
} }

View File

@ -50,6 +50,16 @@ a.cta-a strong {
display: table-cell; display: table-cell;
} }
.oe-process-view {
height: 20px;
padding: 0;
width: 24px;
cursor: pointer;
display: block;
background: url(/web/static/src/img/icons/gtk-help.png) no-repeat bottom;
float: left;
}
.process-help-text { .process-help-text {
float: left; float: left;
padding:5px 10px; padding:5px 10px;

View File

@ -1,7 +1,7 @@
<template> <template>
<t t-extend="ViewManager" t-name="ViewManagerAction"> <t t-extend="ViewManager" t-name="ViewManagerAction">
<t t-jquery=".oe-view-manager-header" t-operation="append"> <t t-jquery=".oe-view-manager-header" t-operation="append">
<img class="oe-process-view" src="/web/static/src/img/icons/gtk-help.png" title="ProcessView"/> <a class="oe-process-view" title="Process View" href="javascript: void(0)"></a>
</t> </t>
</t> </t>
<t t-name="ProcessView"> <t t-name="ProcessView">