diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-09-22 15:27:35 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-09-22 15:27:35 +0200 |
| commit | f308b09a9ab3f3bf452fdd1ac6c2c86812732110 (patch) | |
| tree | 9506e8e830ce1e6737c1f7c87b451f60bbb2cbff /addons/mass_mailing/static/src/xml/mass_mailing.xml | |
| parent | 30260bbb0ee683c67cf8ddd0358f40fbd2f5dd0f (diff) | |
| parent | 856476d4418390ca89ef161e31faf61248eeaa1d (diff) | |
[MERGE] forward port branch saas-13 up to 856476d
Diffstat (limited to 'addons/mass_mailing/static/src/xml/mass_mailing.xml')
| -rw-r--r-- | addons/mass_mailing/static/src/xml/mass_mailing.xml | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/addons/mass_mailing/static/src/xml/mass_mailing.xml b/addons/mass_mailing/static/src/xml/mass_mailing.xml index e82f4dbf88e..1d41f2a3b74 100644 --- a/addons/mass_mailing/static/src/xml/mass_mailing.xml +++ b/addons/mass_mailing/static/src/xml/mass_mailing.xml @@ -1,17 +1,17 @@ <?xml version="1.0" encoding="UTF-8"?> <templates id="template" xml:space="preserve"> - <t t-name="mass_mailing.theme_selector"> - <div class="o_mail_theme_selector"> - <a href="#" class="btn btn-xs btn-primary dropdown-toggle" data-toggle="dropdown"> - <i class="fa fa-paint-brush"/> - </a> - <div class="dropdown-menu"> - <li t-foreach="themes" t-as="theme"> - <a href="#" t-att-data-class="theme.className"> - <img class="img img-responsive" t-att-src="theme.imgSource"/> - </a> - </li> - </div> + <div t-name="mass_mailing.theme_selector" class="o_mail_theme_selector"> + <a href="#" class="btn btn-xs dropdown-toggle" data-toggle="dropdown"> + <i class="fa fa-paint-brush"/> Change Style + </a> + <div class="dropdown-menu"> + <li t-foreach="themes" t-as="theme"> + <a href="#"> + <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> + </li> </div> - </t> + </div> </templates> |
