diff --git a/addons/mail/static/src/less/mail_activity.less b/addons/mail/static/src/less/mail_activity.less index 9d792ddb6af..c9fd7c8595c 100644 --- a/addons/mail/static/src/less/mail_activity.less +++ b/addons/mail/static/src/less/mail_activity.less @@ -102,10 +102,6 @@ } } - .o_thread_message_core.o_mail_note { - padding: 0px 3px; - } - .o_activity_color_default { color: #dddddd; } 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 diff --git a/addons/mail/static/tests/chatter_tests.js b/addons/mail/static/tests/chatter_tests.js index a63e074ef4a..b1a395eb9cc 100644 --- a/addons/mail/static/tests/chatter_tests.js +++ b/addons/mail/static/tests/chatter_tests.js @@ -463,8 +463,8 @@ QUnit.test('chatter: post, receive and star messages', function (assert) { assert.ok(form.$('.o_chatter_topbar .o_chatter_button_log_note').length, "log note button should be available"); assert.strictEqual(form.$('.o_thread_message').length, 1, "thread should contain one message"); - assert.ok(!form.$('.o_thread_message:first() .o_mail_note').length, - "the message shouldn't be a note"); + assert.ok(form.$('.o_thread_message:first().o_mail_discussion').length, + "the message should be a discussion"); assert.ok(form.$('.o_thread_message:first() .o_thread_message_core').text().indexOf('A message') >= 0, "the message's body should be correct"); assert.ok(form.$('.o_thread_message:first() .o_mail_info').text().indexOf('John Doe') >= 0, @@ -477,8 +477,8 @@ QUnit.test('chatter: post, receive and star messages', function (assert) { form.$('.oe_chatter .o_composer_button_send').click(); assert.ok($('.oe_chatter .o_chat_composer').hasClass('o_hidden'), "chatter should be closed"); assert.strictEqual(form.$('.o_thread_message').length, 2, "thread should contain two messages"); - assert.ok(!form.$('.o_thread_message:first() .o_mail_note').length, - "the last message shouldn't be a note"); + assert.ok(form.$('.o_thread_message:first().o_mail_discussion').length, + "the last message should be a discussion"); assert.ok(form.$('.o_thread_message:first() .o_thread_message_core').text().indexOf('My first message') >= 0, "the message's body should be correct"); assert.ok(form.$('.o_thread_message:first() .o_mail_info').text().indexOf('Me') >= 0, @@ -491,8 +491,8 @@ QUnit.test('chatter: post, receive and star messages', function (assert) { form.$('.oe_chatter .o_composer_button_send').click(); assert.ok($('.oe_chatter .o_chat_composer').hasClass('o_hidden'), "chatter should be closed"); assert.strictEqual(form.$('.o_thread_message').length, 3, "thread should contain three messages"); - assert.ok(form.$('.o_thread_message:first() .o_mail_note').length, - "the last message should be a note"); + assert.ok(!form.$('.o_thread_message:first().o_mail_discussion').length, + "the last message should not be a discussion"); assert.ok(form.$('.o_thread_message:first() .o_thread_message_core').text().indexOf('My first note') >= 0, "the message's body should be correct"); assert.ok(form.$('.o_thread_message:first() .o_mail_info').text().indexOf('Me') >= 0,