Skip to content

Commit

Permalink
[FIX] mail: offline status icon
Browse files Browse the repository at this point in the history
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 21, 2019
1 parent 1d5daff commit 7269fb3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions addons/mail/static/src/scss/systray.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@
.o_mail_preview_image {
width: 40px;
height: 40px;

.fa-circle-o {
display: none;
}
}
.o_preview_info {
margin-left: 10px;
Expand Down
4 changes: 4 additions & 0 deletions addons/mail/static/src/scss/thread.scss
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@
position: absolute;
bottom: 0;
right: 0;

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

Expand Down
2 changes: 1 addition & 1 deletion addons/mail/static/src/xml/discuss.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit 7269fb3

Please sign in to comment.