summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml/thread_window.xml
diff options
context:
space:
mode:
authorXavierDo <xdo@odoo.com>2019-01-14 14:51:20 +0000
committerXavierDo <xdo@odoo.com>2019-02-07 12:53:07 +0000
commit062f748efb51e267496cc35c844dc8f59c267204 (patch)
tree007e4715849652d5852a2fcca839513e6eb17683 /addons/mail/static/src/xml/thread_window.xml
parent086405344e7302d9f7b243ba0c30d55131aeb3fe (diff)
[IMP] mail: add a Read More on out of office message
Task: 1856205
Diffstat (limited to 'addons/mail/static/src/xml/thread_window.xml')
-rw-r--r--addons/mail/static/src/xml/thread_window.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/addons/mail/static/src/xml/thread_window.xml b/addons/mail/static/src/xml/thread_window.xml
index d519d0ebbec..76a130d1ba2 100644
--- a/addons/mail/static/src/xml/thread_window.xml
+++ b/addons/mail/static/src/xml/thread_window.xml
@@ -8,7 +8,10 @@
<t t-jquery=".o_thread_window_header" t-operation="after">
<div class="o_out_of_office" t-if="widget.getOutOfOfficeInfo() or widget.getOutOfOfficeMessage()">
<div class="o_out_of_office_info" t-if="widget.getOutOfOfficeInfo()" t-esc="widget.getOutOfOfficeInfo()"/>
- <div class="o_out_of_office_text" t-if="widget.getOutOfOfficeMessage()" t-esc="widget.getOutOfOfficeMessage()"/>
+ <div class="o_out_of_office_text o_text_wrap" t-if="widget.getOutOfOfficeMessage()">
+ <t t-esc="widget.getOutOfOfficeMessage()"/>
+ <a href="#" class="o_out_of_office_read_more_less_button">Read more</a>
+ </div>
</div>
<div t-if="!widget.hasThread()" class="o_thread_search_input">
<span> To: </span>