summaryrefslogtreecommitdiff
path: root/addons/google_calendar/static/src/xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/google_calendar/static/src/xml')
-rw-r--r--addons/google_calendar/static/src/xml/google_calendar_popover.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/addons/google_calendar/static/src/xml/google_calendar_popover.xml b/addons/google_calendar/static/src/xml/google_calendar_popover.xml
new file mode 100644
index 00000000..f026facc
--- /dev/null
+++ b/addons/google_calendar/static/src/xml/google_calendar_popover.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<templates>
+ <t t-extend="Calendar.attendee.status.popover">
+ <t t-jquery=".o_cw_popover_edit" t-operation="after">
+ <a t-if="typeof widget.isGEventSyncedAndArchivable === 'function' and widget.isGEventSyncedAndArchivable() and widget.isEventDetailsVisible()" href="#" class="btn btn-secondary o_cw_popover_archive_g">Archive</a>
+ </t>
+ </t>
+</templates>