[REF] mail: MessageAuthorPrefix, review and simplify scss
Part of the overall v16 SCSS optimization/restyle, task-2704984 task-2826482 closes odoo/odoo#89002 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
// ------------------------------------------------------------------
|
||||
// Layout
|
||||
// ------------------------------------------------------------------
|
||||
|
||||
.o_MessageAuthorPrefixIcon {
|
||||
margin-right: map-get($spacers, 1);
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
// Style
|
||||
// ------------------------------------------------------------------
|
||||
@@ -6,7 +6,7 @@
|
||||
<span class="o_MessageAuthorPrefix" t-attf-class="{{ className }}" t-ref="root">
|
||||
<t t-if="messageAuthorPrefixView.message">
|
||||
<t t-if="messageAuthorPrefixView.message.author and messageAuthorPrefixView.message.author === messaging.currentPartner">
|
||||
<i class="o_MessageAuthorPrefixIcon fa fa-mail-reply"/>You:
|
||||
<i class="o_MessageAuthorPrefixIcon fa fa-mail-reply me-1"/>You:
|
||||
</t>
|
||||
<t t-elif="messageAuthorPrefixView.thread and messageAuthorPrefixView.message.author !== messageAuthorPrefixView.thread.correspondent">
|
||||
<t t-esc="messageAuthorPrefixView.message.author.nameOrDisplayName"/>:
|
||||
|
||||
Reference in New Issue
Block a user