[FIX] mail: offline status icon

Revision on https://github.com/odoo/odoo/commit/07a261db7196d3f7aa7d50d98575c5b6efca9242

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 odoo/odoo#31970

Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com>
This commit is contained in:
Alexandre Kühn
2019-03-21 10:39:13 +00:00
parent 1d5daff152
commit 7269fb32f4
3 changed files with 9 additions and 1 deletions
+4
View File
@@ -75,6 +75,10 @@
.o_mail_preview_image {
width: 40px;
height: 40px;
.fa-circle-o {
display: none;
}
}
.o_preview_info {
margin-left: 10px;
+4
View File
@@ -79,6 +79,10 @@
position: absolute;
bottom: 0;
right: 0;
&.fa-circle-o {
display: none;
}
}
}
+1 -1
View File
@@ -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>