Files
odoo_source/addons/mass_mailing/views/snippets/s_text_highlight.xml
T
Elisabeth Dickinson 2815fe0807 [IMP] mass_mailing: remove data-snippet attribute on snippets
We shouldn't add a data-snippet in the declaration of a snippet,
as they are meant to be drag & dropped, the editor/right panel is going
to add that for you. We generally add them when we copy paste a snippet
definition into another view directly in our sources (ie: template)

Ref: https://github.com/odoo/odoo/pull/87059#discussion_r866903584
Part-of: odoo/odoo#95940
2022-08-11 17:56:25 +02:00

12 lines
366 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_text_highlight" name="Text Highlight">
<div class="s_mail_text_highlight o_mail_snippet_general o_cc o_cc3 pt32 pb32 w-100">
<h3 style="text-align: center;">Text Highlight</h3>
<p style="text-align: center;">Put the focus on what you have to say!</p>
</div>
</template>
</odoo>