Skip to content
Permalink
Browse files

[IMP] mass_mailing: set ids on elements for cleaner xpath expressions

closes #32751

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
  • Loading branch information...
Yenthe666 committed Apr 17, 2019
1 parent 2b48431 commit 4c333ec57c97e1e82cb86cfb9ea747e2e6f0ba0a
Showing with 4 additions and 4 deletions.
  1. +4 −4 addons/mass_mailing/views/snippets_themes.xml
@@ -25,7 +25,7 @@
<div class="o_panel_header">
<i class="fa fa-angle-double-up"/> Headers
</div>
<div class="o_panel_body">
<div class="o_panel_body" id="email_designer_header_elements">
<t t-snippet="mass_mailing.s_mail_block_header_social" t-thumbnail="/mass_mailing/static/src/img/blocks/block_header_social.png"/>
<t t-snippet="mass_mailing.s_mail_block_header_text_social" t-thumbnail="/mass_mailing/static/src/img/blocks/block_header_text_social.png"/>
<t t-snippet="mass_mailing.s_mail_block_header_logo" t-thumbnail="/mass_mailing/static/src/img/blocks/block_header_logo.png"/>
@@ -36,7 +36,7 @@
<div class="o_panel_header">
<i class="fa fa-clone"/> Body
</div>
<div class="o_panel_body">
<div class="o_panel_body" id="email_designer_body_elements">
<t t-snippet="mass_mailing.s_mail_block_title_text" t-thumbnail="/mass_mailing/static/src/img/blocks/block_title_text.png"/>
<t t-snippet="mass_mailing.s_mail_block_title_sub" t-thumbnail="/mass_mailing/static/src/img/blocks/block_title_sub.png"/>
<t t-snippet="mass_mailing.s_mail_block_paragraph" t-thumbnail="/mass_mailing/static/src/img/blocks/block_paragraph.png"/>
@@ -54,7 +54,7 @@
<div class="o_panel_header">
<i class="fa fa-plus"/> Marketing Content
</div>
<div class="o_panel_body">
<div class="o_panel_body" id="email_designer_marketing_elements">
<t t-snippet="mass_mailing.s_mail_block_discount2" t-thumbnail="/mass_mailing/static/src/img/blocks/block_discount2.png"/>
<t t-snippet="mass_mailing.s_mail_block_discount1" t-thumbnail="/mass_mailing/static/src/img/blocks/block_discount1.png"/>
<t t-snippet="mass_mailing.s_mail_block_event" t-thumbnail="/mass_mailing/static/src/img/blocks/block_event.png"/>
@@ -65,7 +65,7 @@
<div class="o_panel_header">
<i class="fa fa-angle-double-down"/> Footers
</div>
<div class="o_panel_body">
<div class="o_panel_body" id="email_designer_footer_elements">
<t t-snippet="mass_mailing.s_mail_block_footer_social" t-thumbnail="/mass_mailing/static/src/img/blocks/block_footer_social.png"/>
<t t-snippet="mass_mailing.s_mail_block_footer_social_left" t-thumbnail="/mass_mailing/static/src/img/blocks/block_footer_social_left.png"/>
</div>

0 comments on commit 4c333ec

Please sign in to comment.
You can’t perform that action at this time.