summaryrefslogtreecommitdiff
path: root/addons/calendar/static/src/xml/notification_calendar.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/calendar/static/src/xml/notification_calendar.xml
parent0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff)
initial commit 2
Diffstat (limited to 'addons/calendar/static/src/xml/notification_calendar.xml')
-rw-r--r--addons/calendar/static/src/xml/notification_calendar.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/addons/calendar/static/src/xml/notification_calendar.xml b/addons/calendar/static/src/xml/notification_calendar.xml
new file mode 100644
index 00000000..3c51293f
--- /dev/null
+++ b/addons/calendar/static/src/xml/notification_calendar.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<template>
+
+<t t-name="CalendarNotification" t-extend="Notification">
+ <t t-jquery=".o_notification_title > t" t-operation="replace">
+ <span t-attf-class="link2event eid_{{widget.eid}}">
+ <t t-esc="widget.title"/>
+ </span>
+ </t>
+ <t t-jquery=".o_notification_content" t-operation="after">
+ <div class="mt-2">
+ <button type="button" class="btn btn-primary link2showed oe_highlight oe_form oe_button"><span>OK</span></button>
+ <button type="button" class="btn btn-link link2event">Details</button>
+ <button type="button" class="btn btn-link link2recall">Snooze</button>
+ </div>
+ </t>
+</t>
+
+</template>