summaryrefslogtreecommitdiff
path: root/addons/mass_mailing/static/src/xml/mass_mailing.xml
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
commit3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch)
treea44932296ef4a9b71d5f010906253d8c53727726 /addons/mass_mailing/static/src/xml/mass_mailing.xml
parent0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff)
initial commit 2
Diffstat (limited to 'addons/mass_mailing/static/src/xml/mass_mailing.xml')
-rw-r--r--addons/mass_mailing/static/src/xml/mass_mailing.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/addons/mass_mailing/static/src/xml/mass_mailing.xml b/addons/mass_mailing/static/src/xml/mass_mailing.xml
new file mode 100644
index 00000000..b4a3bfce
--- /dev/null
+++ b/addons/mass_mailing/static/src/xml/mass_mailing.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<templates id="template" xml:space="preserve">
+ <div t-name="mass_mailing.theme_selector" class="o_mail_theme_selector">
+ <a role="button" href="#" class="btn btn-sm dropdown-toggle" data-toggle="dropdown">
+ <i class="fa fa-paint-brush"/> Change Style
+ </a>
+ <div class="dropdown-menu" role="menu">
+ <t t-foreach="themes" t-as="theme">
+ <a t-att-id="theme.name" role="menuitem" href="#" class="dropdown-item">
+ <div class="o_thumb small" t-attf-style="background-image: url(#{theme.img}_small.png)"/>
+ <div class="o_thumb large" t-attf-style="background-image: url(#{theme.img}_large.png)"/>
+ <div class="o_thumb logo" t-attf-style="background-image: url(#{theme.img}_logo.png)"/>
+ </a>
+ </t>
+ <t t-if="themes.length === 1">
+ <a role="menuitem" href="#" class="dropdown-item o_mass_mailing_themes_upgrade">
+ <div class="o_thumb"><i class="fa fa-plus" role="img" aria-label="Upgrade theme" title="Upgrade theme"/></div>
+ </a>
+ </t>
+ </div>
+ </div>
+</templates>