1
0
forked from Mapan/odoo17e
odoo17e-kedaikipas58/addons/social_push_notifications/views/social_push_notifications_templates.xml
2024-12-10 09:04:09 +07:00

26 lines
1.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="push_notifications_preview" t-name="Push Notification Preview">
<div class="o_social_preview o_social_push_notification_preview o_home_menu_background pt-5">
<div class="o_social_push_notification_preview_content bg-black-75 d-flex align-items-start me-3 mb-3 ms-5 p-3">
<img t-if="icon" t-attf-class="o_social_push_notification_preview_image"
t-attf-src="data:image/png;base64, #{icon}" />
<img t-elif="icon_url" t-attf-class="o_social_push_notification_preview_image"
t-att-src="icon_url" />
<div t-else="" class="p-1 rounded" style="background-color: #FFF">
<img src="/mail/static/src/img/odoobot_transparent.png" />
</div>
<div class="o_social_push_notification_preview_content_body ps-4">
<strong class="o_social_push_notification_preview_content_title text-white" t-esc="title"/>
<div class="o_social_push_notification_preview_content_message text-white-75" t-esc="message" />
<div class="o_social_push_notification_preview_content_info text-white-75 small pt-3">
Google Chrome &#183; <t t-esc="host_name" />
</div>
</div>
</div>
<img class="w-100" src="/social_push_notifications/static/src/img/windows_task_bar.png"/>
</div>
</template>
</odoo>