diff options
Diffstat (limited to 'addons/mail/static/src/xml/thread_window.xml')
| -rw-r--r-- | addons/mail/static/src/xml/thread_window.xml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/addons/mail/static/src/xml/thread_window.xml b/addons/mail/static/src/xml/thread_window.xml index 4d175fcf2b8..d519d0ebbec 100644 --- a/addons/mail/static/src/xml/thread_window.xml +++ b/addons/mail/static/src/xml/thread_window.xml @@ -6,8 +6,9 @@ --> <t t-name="mail.ThreadWindow" t-extend="mail.AbstractThreadWindow"> <t t-jquery=".o_thread_window_header" t-operation="after"> - <div class="o_out_of_office" t-if="widget.getOutOfOfficeMessage() !== undefined"> - <div class="o_out_of_office_text" t-esc="widget.getOutOfOfficeMessage()"/> + <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> <div t-if="!widget.hasThread()" class="o_thread_search_input"> <span> To: </span> |
