summaryrefslogtreecommitdiff
path: root/addons/microsoft_calendar/static/src/xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/microsoft_calendar/static/src/xml')
-rw-r--r--addons/microsoft_calendar/static/src/xml/microsoft_calendar_popover.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/addons/microsoft_calendar/static/src/xml/microsoft_calendar_popover.xml b/addons/microsoft_calendar/static/src/xml/microsoft_calendar_popover.xml
new file mode 100644
index 00000000..aace2731
--- /dev/null
+++ b/addons/microsoft_calendar/static/src/xml/microsoft_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.isMEventSyncedAndArchivable === 'function' and widget.isMEventSyncedAndArchivable() and widget.isEventDetailsVisible()" href="#" class="btn btn-secondary o_cw_popover_archive_m">Archive</a>
+ </t>
+ </t>
+</templates>