diff options
Diffstat (limited to 'addons/mail/static/src/xml/thread.xml')
| -rw-r--r-- | addons/mail/static/src/xml/thread.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/addons/mail/static/src/xml/thread.xml b/addons/mail/static/src/xml/thread.xml index 9896cb0ce6e..47e84e38f60 100644 --- a/addons/mail/static/src/xml/thread.xml +++ b/addons/mail/static/src/xml/thread.xml @@ -94,6 +94,21 @@ <t t-if="message.origin_id && (message.origin_id !== options.channel_id)"> (from <a t-att-data-oe-id="message.origin_id" href="#">#<t t-esc="message.origin_name"/></a>) </t> + <span t-if="options.display_email_icon && message.customer_email_data.length" class="o_thread_tooltip_container"> + <i t-att-class="'o_thread_tooltip o_thread_message_email o_thread_message_email_' + message.customer_email_status + ' fa fa-envelope-o'"/> + <span class="o_thread_tooltip_content"> + <t t-foreach="message.customer_email_data" t-as="customer"> + <span> + <t t-if="customer[2] == 'sent'"><i class='fa fa-check'/></t> + <t t-if="customer[2] == 'bounce'"><i class='fa fa-exclamation'/></t> + <t t-if="customer[2] == 'exception'"><i class='fa fa-exclamation'/></t> + <t t-if="customer[2] == 'ready'"><i class='fa fa-send-o'/></t> + <t t-esc="customer[1]"/> + </span> + <br /> + </t> + </span> + </span> <span> <i t-if="options.display_stars && !message.is_system_notification" t-att-class="'fa fa-lg o_thread_message_star ' + (message.is_starred ? 'fa-star' : 'fa-star-o')" |
