summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml/text_emojis.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/mail/static/src/xml/text_emojis.xml
parent0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff)
initial commit 2
Diffstat (limited to 'addons/mail/static/src/xml/text_emojis.xml')
-rw-r--r--addons/mail/static/src/xml/text_emojis.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/addons/mail/static/src/xml/text_emojis.xml b/addons/mail/static/src/xml/text_emojis.xml
new file mode 100644
index 00000000..4f333ba9
--- /dev/null
+++ b/addons/mail/static/src/xml/text_emojis.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<templates xml:space="preserve">
+ <div t-name="mail.EmojisDropdown" class="o_mail_emojis_dropdown o_mail_add_emoji dropdown position-relative">
+ <button class="btn btn-block dropdown-toggle px-3 py-1"
+ type="button"
+ data-toggle="dropdown"
+ aria-haspopup="true"
+ aria-expanded="false"
+ title="Add an emoji">
+ <i class="fa fa-smile-o"/>
+ </button>
+ <div class="dropdown-menu dropdown-menu-right border-0 p-2" style="width: 406px">
+ <t t-call="mail.legacy.Composer.emojis">
+ <t t-set="emojis" t-value="widget.emojis"></t>
+ </t>
+ </div>
+ </div>
+</templates>