The following snippets (and their relevant options) were added to `mass_mailing`, mostly duplicated from the website builder: - s_cover - s_title - s_text_block - s_comparisons - s_color_blocks_2 - s_three_columns - s_image_text - s_text_image - s_picture - s_features - s_numbers - s_masonry_block - s_media_list - s_showcase - s_company_team - s_call_to_action - s_references - s_product_list - s_features_grid - s_alert - s_rating - s_blockquote - s_hr - s_text_highlight - s_coupon_code The following snippets were removed to make way for the new: - s_mail_block_banner - s_mail_block_title_sub - s_mail_block_paragraph - s_mail_block_comparison_table - s_mail_block_two_cols - s_mail_block_three_cols - s_mail_block_image_text - s_mail_block_text_image - s_mail_block_image - s_mail_block_footer_separator - s_mail_block_steps - s_mail_block_discount2 The following standalone snippet options were added, mostly duplicated from the website builder: - Box - layout_column - SnippetMove - snippet_options_text_align (via web_editor) - snippet_options_width (via web_editor) - snippet_options_block_align (via web_editor) - BodyWidth (based on ContainerWidth but only for the mailing's body) - minHeight - so_snippet_addition - so_content_addition - sizing_x - vAlignment Styles and selectors were adapted to the specifics of `mass_mailing`. task-2554899 X-original-commit: e5e1d4255ab416581b2ef7159c0c28540528771c Part-of: odoo/odoo#77724 Co-authored-by: Antoine Guenet <age@odoo.com> Co-authored-by: Elisabeth Dickinson <edi@odoo.com>
41 lines
2.3 KiB
XML
41 lines
2.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="s_three_columns" name="Columns">
|
|
<div class="s_three_columns o_cc o_cc2 pt32 pb32 o_mail_snippet_general" data-snippet="s_three_columns">
|
|
<div class="container">
|
|
<div class="row d-flex align-items-stretch">
|
|
<div class="col-lg-4 s_col_no_bgcolor pt16 pb16">
|
|
<div class="card bg-white h-100">
|
|
<img class="card-img-top" src="/mass_mailing/static/src/img/theme_default/s_default_image_block_three_cols_1.jpg" alt=""/>
|
|
<div class="card-body">
|
|
<h3 class="card-title">Feature One</h3>
|
|
<p class="card-text">Adapt these three columns to fit your design need. To duplicate, delete or move columns, select the column and use the top icons to perform your action.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-lg-4 s_col_no_bgcolor pt16 pb16">
|
|
<div class="card bg-white h-100">
|
|
<img class="card-img-top" src="/mass_mailing/static/src/img/theme_default/s_default_image_block_three_cols_2.jpg" alt=""/>
|
|
<div class="card-body">
|
|
<h3 class="card-title">Feature Two</h3>
|
|
<p class="card-text">To add a fourth column, reduce the size of these three columns using the right icon of each block. Then, duplicate one of the columns to create a new one as a copy.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-lg-4 s_col_no_bgcolor pt16 pb16">
|
|
<div class="card bg-white h-100">
|
|
<img class="card-img-top" src="/mass_mailing/static/src/img/theme_default/s_default_image_block_three_cols_3.jpg" alt=""/>
|
|
<div class="card-body">
|
|
<h3 class="card-title">Feature Three</h3>
|
|
<p class="card-text">Delete the above image or replace it with a picture that illustrates your message. Click on the picture to change its <em>rounded corner</em> style.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
</odoo>
|