[REM] mass_mailing: remove unused snippets

Some snippets were removed in commit [1] but their now unused templates
were temporarily kept for migration purposes. This removes them.

[1] https://github.com/odoo/odoo/commit/6c63addd180e799eda99751768ccf20699136ca1

closes odoo/odoo#78358

Related: odoo/enterprise#21687
Related: odoo/upgrade#2923
Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
This commit is contained in:
Antoine Guenet
2021-11-16 10:02:18 +00:00
parent b419a0a2f1
commit 516a74a0c8
@@ -143,25 +143,6 @@
</div>
</template>
<!-- TODO: remove this template -->
<template id="s_mail_block_banner" name="Banner">
<div class="o_mail_block_banner">
<div class="o_mail_snippet_general">
<table align="center" cellspacing="0" cellpadding="0" border="0" class="o_mail_table_styles">
<tbody>
<tr>
<td width="100%" valign="top" class="o_mail_full_width_padding o_mail_no_colorpicker">
<a href="#">
<img src="/mass_mailing/static/src/img/theme_basic/s_default_image_block_banner.jpg" class="d-block mx-auto"/>
</a>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</template>
<template id="s_mail_block_header_logo" name="Centered Logo">
<div class="o_mail_snippet_general o_mail_block_header_logo s_header_logo">
<div class="container o_mail_table_styles">
@@ -205,359 +186,6 @@
</div>
</template>
<!-- TODO: remove this template -->
<template id="s_mail_block_paragraph" name="Paragraph">
<div class="o_mail_block_paragraph">
<div class="o_mail_snippet_general">
<table align="center" cellspacing="0" cellpadding="0" border="0" class="o_mail_table_styles">
<tbody>
<tr>
<td width="100%" class="o_mail_h_padding o_mail_v_padding o_mail_no_colorpicker">
<p> The open source model of Odoo has allowed us to leverage thousands of developers and
business experts to build hundreds of apps in just a few years.</p>
<p> With strong technical foundations, Odoo's framework is unique.
It provides top notch usability that scales across all apps.</p>
<p> Usability improvements made on Odoo will automatically apply to all
of our fully integrated apps.</p>
<p> That way, Odoo evolves much faster than any other solution.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</template>
<!-- TODO: remove this template -->
<template id="s_mail_block_title_sub" name="Title - Subtitle">
<div class="o_mail_block_title_sub">
<div class="o_mail_snippet_general">
<table align="center" cellspacing="0" cellpadding="0" class="o_mail_table_styles">
<tbody>
<tr>
<td class="o_mail_h_padding o_mail_v_padding o_mail_no_colorpicker">
<h2 class="o_mail_no_margin">Check this out!</h2>
<p class="o_mail_no_margin">Apps That Help You Grow Your Business!</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</template>
<!-- TODO: remove this template -->
<template id="s_mail_block_comparison_table" name="Comparison">
<div class="o_mail_block_comparison_table">
<div class="o_mail_snippet_general">
<table align="center" cellspacing="0" cellpadding="0" class="o_mail_table_styles">
<tbody>
<tr>
<td class="o_mail_h_padding o_mail_v_padding o_mail_col_mv">
<table cellspacing="0" cellpadding="0" class="o_mail_table_styles">
<thead>
<tr>
<th class="bg-o-color-2 o_mail_v_padding o_mail_col_mv">
<h2 class="text-center o_mail_no_margin">DEFAULT</h2>
</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-center o_mail_col_mv bg-gray-lighter">
<p class="o_mail_display_coupon text-center" style="margin-top:10px;">$8</p>
<small>user / month (billed annually)</small>
</td>
</tr>
<tr>
<td valign="top" class="o_mail_v_padding o_mail_col_mv bg-gray-lighter">
<div class="separator"></div>
</td>
</tr>
<tr>
<td class="o_mail_col_mv bg-gray-lighter">
<p>Basic features</p>
</td>
</tr>
<tr>
<td class="o_mail_col_mv bg-gray-lighter">
<p>Basic management</p>
</td>
</tr>
<tr>
<td class="o_mail_col_mv bg-gray-lighter">
<p>No customization</p>
</td>
</tr>
<tr>
<td class="o_mail_col_mv bg-gray-lighter">
<p>No support</p>
</td>
</tr>
</tbody>
<tfoot>
<tr>
<td valign="top" class="o_mail_v_padding o_mail_col_mv bg-gray-lighter">
<div class="separator"></div>
</td>
</tr>
<tr>
<td valign="top" class="text-center o_mail_h_padding o_mail_col_mv bg-gray-lighter" style="padding-bottom: 20px;">
<a role="button" href="#" class="btn btn-block btn-primary">More</a>
</td>
</tr>
</tfoot>
</table>
</td>
<td class="o_mail_h_padding o_mail_v_padding o_mail_col_mv">
<table cellspacing="0" cellpadding="0" class="o_mail_table_styles">
<thead>
<tr>
<th class="bg-o-color-2 o_mail_v_padding o_mail_col_mv">
<h2 class="text-center o_mail_no_margin">PRO</h2>
</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-center o_mail_col_mv bg-gray-lighter">
<p class="o_mail_display_coupon text-center" style="margin-top:10px;">$18</p>
<small>user / month (billed annually)</small>
</td>
</tr>
<tr>
<td valign="top" class="o_mail_v_padding o_mail_col_mv bg-gray-lighter">
<div class="separator"></div>
</td>
</tr>
<tr>
<td class="o_mail_col_mv bg-gray-lighter">
<p><strong>Advanced</strong> features</p>
</td>
</tr>
<tr>
<td class="o_mail_col_mv bg-gray-lighter">
<p><strong>Total</strong> management</p>
</td>
</tr>
<tr>
<td class="o_mail_col_mv bg-gray-lighter">
<p><strong>Fully customizable</strong></p>
</td>
</tr>
<tr>
<td class="o_mail_col_mv bg-gray-lighter">
<p><strong>24/7 Support</strong></p>
</td>
</tr>
</tbody>
<tfoot>
<tr>
<td valign="top" class="o_mail_v_padding o_mail_col_mv bg-gray-lighter">
<div class="separator"></div>
</td>
</tr>
<tr>
<td valign="top" class="text-center o_mail_h_padding o_mail_col_mv bg-gray-lighter" style="padding-bottom: 20px;">
<a role="button" href="#" class="btn btn-block btn-primary">More</a>
</td>
</tr>
</tfoot>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</template>
<!-- TODO: remove this template -->
<template id="s_mail_block_two_cols" name="Two Columns">
<div class="o_mail_block_two_cols">
<div class="o_mail_snippet_general">
<table align="center" cellspacing="0" cellpadding="0" class="o_mail_table_styles o_mail_v_padding o_mail_col_table">
<tbody>
<tr>
<td style="vertical-align:top;width:270px;" class="o_mail_col_mv o_mail_col_container">
<div>
<img src="/mass_mailing/static/src/img/theme_basic/s_default_image_block_two_cols_1.jpg" class="d-block mx-auto"/>
<h4 class="text-center">Column title</h4>
<p class="text-center o_mail_no_margin">
Write one paragraph describing your product,
services or a specific feature. To be successful
your content needs to be useful to your readers.
</p>
<div class="text-center" style="margin-top:15px;">
<a role="button" href="#" class="btn btn-link">Read More...</a>
</div>
</div>
</td>
<td style="vertical-align:top;width:270px;" class="o_mail_col_mv o_mail_col_container">
<div>
<img src="/mass_mailing/static/src/img/theme_basic/s_default_image_block_two_cols_2.jpg" class="d-block mx-auto"/>
<h4 class="text-center">Column title</h4>
<p class="text-center o_mail_no_margin">
Write one paragraph describing your product,
services or a specific feature. To be successful
your content needs to be useful to your readers.
</p>
<div class="text-center" style="margin-top:15px;">
<a role="button" href="#" class="btn btn-link">Read More...</a>
</div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</template>
<!-- TODO: remove this template -->
<template id="s_mail_block_three_cols" name="Three Columns">
<div class="o_mail_block_three_cols">
<div class="o_mail_snippet_general">
<table align="center" cellspacing="0" cellpadding="0" class="o_mail_table_styles o_mail_v_padding o_mail_col_table">
<tbody>
<tr>
<td style="vertical-align:top;width:180px;" class="o_mail_col_mv o_mail_col_container">
<div>
<img src="/mass_mailing/static/src/img/theme_basic/s_default_image_block_three_cols_1.jpg" class="d-block mx-auto"/>
<h4 class="text-center">Column Title</h4>
<p class="text-center o_mail_no_margin">
A short description
</p>
<div class="text-center" style="margin-top:15px;">
<a role="button" href="#" class="btn btn-link">Read More...</a>
</div>
</div>
</td>
<td style="vertical-align:top;width:180px;" class="o_mail_col_mv o_mail_col_container">
<div>
<img src="/mass_mailing/static/src/img/theme_basic/s_default_image_block_three_cols_2.jpg" class="d-block mx-auto"/>
<h4 class="text-center">Column Title</h4>
<p class="text-center o_mail_no_margin">
A short description
</p>
<div class="text-center" style="margin-top:15px;">
<a role="button" href="#" class="btn btn-link">Read More...</a>
</div>
</div>
</td>
<td style="vertical-align:top;width:180px;" class="o_mail_col_mv o_mail_col_container">
<div>
<img src="/mass_mailing/static/src/img/theme_basic/s_default_image_block_three_cols_3.jpg" class="d-block mx-auto"/>
<h4 class="text-center">Column Title</h4>
<p class="text-center o_mail_no_margin">
A short description
</p>
<div class="text-center" style="margin-top:15px;">
<a role="button" href="#" class="btn btn-link">Read More...</a>
</div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</template>
<!-- TODO: remove this template -->
<template id="s_mail_block_image_text" name="Image - Text">
<div class="o_mail_block_image_text">
<div class="o_mail_snippet_general">
<table align="center" cellspacing="0" cellpadding="0" class="o_mail_table_styles">
<tbody>
<tr>
<td style="width:270px;text-align:center;vertical-align:middle" class="o_mail_col_mv o_mail_img_container o_mail_h_padding o_mail_v_padding">
<img src="/mass_mailing/static/src/img/theme_basic/s_default_image_block_image_text.jpg" class="d-block mx-auto"/>
</td>
<td style="width:270px;vertical-align:middle;text-align:center;" class="o_mail_col_mv o_mail_h_padding o_mail_v_padding">
<h3>Omnichannel sales</h3>
<p class="o_mail_no_margin" style="text-align:justify;">Get your inside sales (CRM) fully integrated with online sales (eCommerce), in-store sales (Point of Sale) and marketplaces like eBay and Amazon.</p>
<div class="text-center" style="margin-top:15px;">
<a role="button" href="#" class="btn btn-link">Read More...</a>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</template>
<!-- TODO: remove this template -->
<template id="s_mail_block_text_image" name="Text - Image">
<div class="o_mail_block_text_image">
<div class="o_mail_snippet_general">
<table align="center" cellspacing="0" cellpadding="0" class="o_mail_table_styles">
<tbody>
<tr>
<td style="width:270px;vertical-align:middle;text-align:center;" class="o_mail_col_mv o_mail_h_padding o_mail_v_padding">
<h3>A unique value</h3>
<p class="o_mail_no_margin" style="text-align:justify;">The open source model of Odoo has allowed us to leverage thousands of developers and business experts to build hundreds of apps in just a few years.</p>
<div class="text-center" style="margin-top:15px;">
<a role="button" href="#" class="btn btn-link">Read More...</a>
</div>
</td>
<td style="width:270px;text-align:center;vertical-align:middle" class="o_mail_col_mv o_mail_img_container o_mail_h_padding o_mail_v_padding">
<img src="/mass_mailing/static/src/img/theme_basic/s_default_image_block_text_image.jpg" class="d-block mx-auto"/>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</template>
<!-- TODO: remove this template -->
<template id="s_mail_block_image" name="Image">
<div class="o_mail_block_image">
<div class="o_mail_snippet_general">
<table align="center" cellspacing="0" cellpadding="0" class="o_mail_table_styles">
<tbody>
<tr>
<td width="100%" align="center" style="text-align:center" class="o_mail_h_padding">
<img src="/mass_mailing/static/src/img/theme_basic/s_default_image_block_image.jpg" class="d-block mx-auto"/>
</td>
</tr>
<tr>
<td width="100%" align="center" style="text-align:center" class="o_mail_h_padding">
<table>
<td class="bg-o-color-2 o_mail_v_padding">
<p class="text-center">With strong technical foundations, Odoo's framework is unique. It provides <strong>top notch usability that scales across all apps</strong>.</p>
</td>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</template>
<!-- TODO: remove this template -->
<template id="s_mail_block_footer_separator" name="Separator">
<div class="o_mail_block_footer_separator">
<div class="o_mail_snippet_general">
<table align="center" cellspacing="0" cellpadding="0" class="o_mail_table_styles o_mail_full_width_padding">
<tbody>
<tr>
<td valign="top" style="width:100%;" class="o_mail_v_padding o_mail_no_colorpicker">
<div style="width:100%;" class="separator"></div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</template>
<template id="s_mail_block_footer_tag_line" name="Tag Line">
<div class="o_mail_snippet_general o_mail_block_footer_tag_line s_footer_tag_line pt16 pb16 px-3 o_cc o_cc3">
<h3 class="text-center">Apps That Help You Grow Your Business</h3>
@@ -568,44 +196,6 @@
</div>
</template>
<!-- TODO: remove this template -->
<template id="s_mail_block_discount2" name="Promo Code">
<div class="o_mail_block_discount2 mb32">
<div class="o_mail_snippet_general">
<div class="container o_mail_table_styles o_mail_h_padding">
<div class="row">
<div class="col o_mail_v_padding">
<div class="text-center d-block mx-auto">
<p class="o_mail_display_coupon o_mail_no_margin text-center text-o-color-2" style="font-weight:800;">
$20
</p>
<h3 class="o_mail_no_margin">OFF YOUR NEXT ORDER!</h3>
</div>
</div>
</div>
<div class="row">
<div class="col text-center">
<p class="text-center" style="margin-top:10px;">
Use This Promo Code BEFORE 1st of August
</p>
<p class="o_mail_h_padding text-center">
<span style="line-height: 30px;"><small>CODE: </small></span><strong class="o_code h3 oe_unremovable">45A9E77DGW8455</strong>
</p>
<p class="text-center">
and save $20 on your next order!
</p>
</div>
</div>
<div class="row">
<div class="col mb16 mt16 text-center">
<a role="button" href="#" class="btn btn-primary">Use now</a>
</div>
</div>
</div>
</div>
</div>
</template>
<template id="s_mail_block_discount1" name="Discount Offer">
<div class="o_mail_snippet_general o_mail_block_discount1 s_discount1">
<div class="container o_mail_table_styles">
@@ -648,65 +238,6 @@
</div>
</template>
<!-- TODO: remove this template -->
<template id="s_mail_block_steps" name="Steps">
<div class="o_mail_block_steps o_mail_no_colorpicker">
<div class="o_mail_snippet_general">
<table align="center" cellspacing="0" cellpadding="0" class="o_mail_table_styles o_mail_full_width_padding">
<tbody>
<tr>
<td class="o_mail_col_mv o_mail_h_padding o_mail_v_padding">
<table align="center">
<tr>
<td rowspan="2" class="text-right">
&amp;nbsp;
<span class="fa fa-compass fa-2x text-o-color-4" role="img" aria-label="Choose" title="Choose"></span>
&amp;nbsp;
</td>
<td style="padding-left:10px;">
<p class="o_mail_no_margin"><small>Step 1:</small></p>
<h4 class="o_mail_no_margin">Choose</h4>
</td>
</tr>
</table>
</td>
<td class="o_mail_col_mv o_mail_h_padding o_mail_v_padding">
<table align="center">
<tr>
<td rowspan="2" class="text-right">
&amp;nbsp;
<span class="fa fa-credit-card fa-2x text-o-color-4" role="img" aria-label="Order" title="Order"></span>
&amp;nbsp;
</td>
<td style="padding-left:10px;">
<p class="o_mail_no_margin"><small>Step 2:</small></p>
<h4 class="o_mail_no_margin ">Order</h4>
</td>
</tr>
</table>
</td>
<td class="o_mail_col_mv o_mail_h_padding o_mail_v_padding">
<table align="center">
<tr>
<td rowspan="2" class="text-right">
&amp;nbsp;
<span class="fa fa-smile-o fa-2x text-o-color-4" role="img" aria-label="Enjoy" title="Enjoy"></span>
&amp;nbsp;
</td>
<td style="padding-left:10px;">
<p class="o_mail_no_margin"><small>Step 3:</small></p>
<h4 class="o_mail_no_margin ">Enjoy!</h4>
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</template>
<template id="s_mail_block_footer_social" name="Footer Center">
<div class="s_footer_social o_mail_block_footer_social o_mail_footer_social_center o_mail_snippet_general">
<div class="container o_mail_table_styles">