summaryrefslogtreecommitdiff
path: root/addons/snailmail/static/src/components/notification_group/notification_group.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/snailmail/static/src/components/notification_group/notification_group.xml')
-rw-r--r--addons/snailmail/static/src/components/notification_group/notification_group.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/addons/snailmail/static/src/components/notification_group/notification_group.xml b/addons/snailmail/static/src/components/notification_group/notification_group.xml
new file mode 100644
index 00000000..7f04e716
--- /dev/null
+++ b/addons/snailmail/static/src/components/notification_group/notification_group.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<templates xml:space="preserve">
+
+ <t t-inherit="mail.NotificationGroup" t-inherit-mode="extension">
+ <xpath expr="//*[hasclass('o_NotificationGroup_inlineText')]" position="inside">
+ <t t-if="group.notification_type === 'snail'">
+ An error occurred when sending a letter with Snailmail.
+ </t>
+ </xpath>
+ </t>
+
+</templates>