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, 10 insertions, 5 deletions
diff --git a/addons/mail/static/src/xml/thread.xml b/addons/mail/static/src/xml/thread.xml index 20049e89cf6..ca8ae9b8319 100644 --- a/addons/mail/static/src/xml/thread.xml +++ b/addons/mail/static/src/xml/thread.xml @@ -175,14 +175,19 @@ (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 and message.customer_email_data and 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'"/> + <t t-set="fatype" t-value="''"/> + <t t-if="message.customer_email_status === 'sent' or message.customer_email_status === 'ready'"> + <t t-set="fatype" t-value="'-o'"/> + </t> + <i t-att-class="'o_thread_tooltip o_thread_message_email o_thread_message_email_' + message.customer_email_status + ' fa fa-envelope'+ fatype" t-att-data-message-id="message.id"/> <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-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-if="customer[2] === 'canceled'"><i class='fa fa-trash-o'/></t> <t t-esc="customer[1]"/> </span> <br /> |
