[FIX] hr_holidays: make online plane im status visible
Before this commit, the online plane icon when the user is on leave had the same color as background. As a result, the plane icon was not visible. This commit fixes the issue by adding the missing `text-primary` classname, which adds the green color to state "online". Task-3196190 closes odoo/odoo#113195 X-original-commit: 2268d625a29ab2d4b9b40bab4520e6204b7763a0 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com> Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
||||
<templates xml:space="preserve">
|
||||
<t t-inherit="mail.PersonaImStatusIconView" t-inherit-mode="extension">
|
||||
<xpath expr="//*[@name='root']" position="inside">
|
||||
<i t-if="persona.im_status === 'leave_online'" class="o_PersonaImStatusIconView_icon o-online fa fa-plane fa-stack-1x" title="Online" role="img" aria-label="User is online"/>
|
||||
<i t-if="persona.im_status === 'leave_online'" class="o_PersonaImStatusIconView_icon o-online fa fa-plane fa-stack-1x text-primary" title="Online" role="img" aria-label="User is online"/>
|
||||
<i t-if="persona.im_status === 'leave_away'" class="o_PersonaImStatusIconView_icon o-away fa fa-plane fa-stack-1x text-warning" title="Away" role="img" aria-label="User is away"/>
|
||||
<i t-if="persona.im_status === 'leave_offline'" class="o_PersonaImStatusIconView_icon o-offline fa fa-plane fa-stack-1x text-700" title="Out of office" role="img" aria-label="User is out of office"/>
|
||||
</xpath>
|
||||
|
||||
Reference in New Issue
Block a user