Skip to content
Permalink
Browse files

[FIX] mail: offline status icon

Revision on 07a261d

When a user is offline, the icon status should be an outline bullet.
However, since the commit above, the offline icon was a plain bullet.
Also, the offline icon is hidden when displayed next to user avatar.

Task-ID 1957966

closes #31970

Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com>
  • Loading branch information...
alexkuhn committed Mar 20, 2019
1 parent 1d5daff commit 7269fb32f4f4819d28c28d48af1b88eb5b35ec58
@@ -75,6 +75,10 @@
.o_mail_preview_image {
width: 40px;
height: 40px;

.fa-circle-o {
display: none;
}
}
.o_preview_info {
margin-left: 10px;
@@ -79,6 +79,10 @@
position: absolute;
bottom: 0;
right: 0;

&.fa-circle-o {
display: none;
}
}
}

@@ -183,7 +183,7 @@
<span t-att-class="partnerID ? 'o_updatable_im_status' : ''" t-att-data-partner-id="partnerID">
<i t-if="status == 'online'" class="o_mail_user_status o_user_online fa fa-circle" title="Online" role="img" aria-label="User is online"/>
<i t-if="status == 'away'" class="o_mail_user_status o_user_idle fa fa-circle" title="Idle" role="img" aria-label="User is idle"/>
<i t-if="status == 'offline'" class="o_mail_user_status fa fa-circle" title="Offline" role="img" aria-label="User is offline"/>
<i t-if="status == 'offline'" class="o_mail_user_status fa fa-circle-o" title="Offline" role="img" aria-label="User is offline"/>
</span>
</t>

0 comments on commit 7269fb3

Please sign in to comment.
You can’t perform that action at this time.