summaryrefslogtreecommitdiff
path: root/addons/google_drive/static/src/xml
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
commit3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch)
treea44932296ef4a9b71d5f010906253d8c53727726 /addons/google_drive/static/src/xml
parent0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff)
initial commit 2
Diffstat (limited to 'addons/google_drive/static/src/xml')
-rw-r--r--addons/google_drive/static/src/xml/gdrive.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/addons/google_drive/static/src/xml/gdrive.xml b/addons/google_drive/static/src/xml/gdrive.xml
new file mode 100644
index 00000000..d12b3459
--- /dev/null
+++ b/addons/google_drive/static/src/xml/gdrive.xml
@@ -0,0 +1,14 @@
+<templates>
+ <t t-name="GoogleDriveMenu" owl="1">
+ <li>
+ <ul class="o_embed_menu">
+ <li t-foreach="props.items" t-as="gdriveItem" t-key="gdriveItem.id"
+ role="menuitem"
+ class="o_menu_item oe_share_gdoc_item dropdown-item"
+ >
+ <a href="#" t-esc="gdriveItem.name" t-on-click.prevent="_onGoogleDocItemClick(gdriveItem.id)"/>
+ </li>
+ </ul>
+ </li>
+ </t>
+</templates>