From b4ecbcfaa30fcf73af9016a59f0bdea3eec32c38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Fri, 16 Feb 2018 15:05:45 +0100 Subject: [REM] mail: remove o_mail_note class in chatter Purpose of this commit is to clean a bit various classes and conditions. First clean is the removal of o_mail_note class in activities less. It comes from first implementation of activity widget and is not used anymore in activity widgets rendering. Second clean is the removal of o_mail_note class when displaying messages. Only o_mail_discussion is used currently in chatter to make a different background depending on whether the message is a discussion or not. All we have to know to differentiate message display is whether it is a discussion done by an user or not. Tests have been updated to use o_mail_discussion class triggered by the message being a discussion, aka a comment posted by an user. --- addons/mail/static/src/xml/thread.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/mail/static/src/xml/thread.xml') diff --git a/addons/mail/static/src/xml/thread.xml b/addons/mail/static/src/xml/thread.xml index 26c093c3e84..5568729b02d 100644 --- a/addons/mail/static/src/xml/thread.xml +++ b/addons/mail/static/src/xml/thread.xml @@ -157,7 +157,7 @@ t-att-class="'fa o_thread_message_star o_thread_icon ' + (message.is_starred ? 'fa-star' : 'fa-star-o')" t-att-data-message-id="message.id" title="Mark as Todo"/> -
+

Note by -- cgit v1.2.3