[MERGE] forward port branch 8.0 up to 1246680756
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
li.oe_share_gdoc > a:after {
|
||||||
|
content: url('/google_drive/static/src/img/drive_icon.png');
|
||||||
|
position: absolute;
|
||||||
|
right: 5px;
|
||||||
|
}
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 1.5 KiB |
@@ -38,7 +38,7 @@ openerp.google_drive = function (instance, m) {
|
|||||||
}
|
}
|
||||||
if (!already_there){
|
if (!already_there){
|
||||||
self.add_items('other', [{
|
self.add_items('other', [{
|
||||||
label: res.name+ '<img style="position:absolute;right:5px;height:20px;width:20px;" title="Google Drive" src="google_drive/static/src/img/drive_icon.png"/>',
|
label: res.name,
|
||||||
config_id: res.id,
|
config_id: res.id,
|
||||||
res_id: res_id,
|
res_id: res_id,
|
||||||
res_model: view.dataset.model,
|
res_model: view.dataset.model,
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
<data>
|
<data>
|
||||||
<template id="assets_backend" name="google_drive assets" inherit_id="web.assets_backend">
|
<template id="assets_backend" name="google_drive assets" inherit_id="web.assets_backend">
|
||||||
<xpath expr="." position="inside">
|
<xpath expr="." position="inside">
|
||||||
|
<link rel="stylesheet" href="/google_drive/static/src/css/google_drive.css" />
|
||||||
<script type="text/javascript" src="/google_drive/static/src/js/gdrive.js"></script>
|
<script type="text/javascript" src="/google_drive/static/src/js/gdrive.js"></script>
|
||||||
</xpath>
|
</xpath>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user