If user has blocked odoo push notifications then there's no way to enable via the OdooBot notification in the systray as it depends on the navigator so display the alert message under users preference section. Related Task ID: 1929547 closes odoo/odoo#30496
18 lines
664 B
XML
18 lines
664 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<templates xml:space="preserve">
|
|
<t t-extend="mail.UserStatus">
|
|
<t t-jquery="i:last" t-operation="after">
|
|
<i t-if="status == 'bot'" class="o_mail_user_status o_user_online fa fa-heart" title="Bot" role="img" aria-label="User is a bot"/>
|
|
</t>
|
|
</t>
|
|
|
|
<!--
|
|
@param {mail.NotificationAlert} widget
|
|
-->
|
|
<t t-name="mail.NotificationAlert">
|
|
<center t-if="widget.isNotificationBlocked" class="o_notification_alert alert alert-primary">
|
|
Odoo Push notifications have been blocked. Go to your browser settings to allow them.
|
|
</center>
|
|
</t>
|
|
</templates>
|