[IMP] mail: guard SnailmailNotificationPopoverComponent
Task-2797754 closes odoo/odoo#86956 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
+8
-6
@@ -2,12 +2,14 @@
|
||||
<templates xml:space="preserve">
|
||||
|
||||
<t t-name="snailmail.SnailmailNotificationPopover" owl="1">
|
||||
<div class="o_SnailmailNotificationPopover" t-attf-class="{{ className }}" t-ref="root">
|
||||
<t t-if="message and notification">
|
||||
<i class="o_SnailmailNotificationPopover_icon" t-att-class="iconClass" role="img"/>
|
||||
<span t-esc="iconTitle"/>
|
||||
</t>
|
||||
</div>
|
||||
<t t-if="message">
|
||||
<div class="o_SnailmailNotificationPopover" t-attf-class="{{ className }}" t-ref="root">
|
||||
<t t-if="notification">
|
||||
<i class="o_SnailmailNotificationPopover_icon" t-att-class="iconClass" role="img"/>
|
||||
<span t-esc="iconTitle"/>
|
||||
</t>
|
||||
</div>
|
||||
</t>
|
||||
</t>
|
||||
|
||||
</templates>
|
||||
|
||||
Reference in New Issue
Block a user