summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml/thread_window.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/mail/static/src/xml/thread_window.xml')
-rw-r--r--addons/mail/static/src/xml/thread_window.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/addons/mail/static/src/xml/thread_window.xml b/addons/mail/static/src/xml/thread_window.xml
new file mode 100644
index 00000000000..5ed41cd66f8
--- /dev/null
+++ b/addons/mail/static/src/xml/thread_window.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<templates xml:space="preserve">
+
+ <!--
+ @param {mail.ThreadWindow} widget
+ -->
+ <t t-name="mail.ThreadWindow" t-extend="mail.AbstractThreadWindow">
+ <t t-jquery=".o_thread_window_header" t-operation="after">
+ <div t-if="!widget.hasThread()" class="o_thread_search_input">
+ <span> To: </span>
+ <input type="text" placeholder="User name"/>
+ </div>
+ </t>
+ </t>
+
+ <!--
+ @param {string} expandTitle text to display on mouse hover (title attribute)
+ -->
+ <t t-extend="mail.AbstractThreadWindowHeaderContent">
+ <t t-jquery=".o_thread_window_buttons" t-operation="prepend">
+ <a href="#" class="o_thread_window_expand fa fa-expand" t-att-title="expandTitle" t-att-aira-label="expandTitle"/>
+ </t>
+ </t>
+
+</templates>