Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Drop saleor logo from emails

Maciej Korycinski885b385880e7
diff --git a/saleor/core/emails.py b/saleor/core/emails.py
index 4b04bb560a..4e147dad6a 100644
--- a/saleor/core/emails.py
+++ b/saleor/core/emails.py
@@ -1,18 +1,13 @@
from urllib.parse import urlsplit
from django.contrib.sites.models import Site
-from django.templatetags.static import static
-
-from ..core.utils import build_absolute_uri
def get_email_context():
site: Site = Site.objects.get_current()
- logo_url = build_absolute_uri(static("images/logo-light.svg"))
send_email_kwargs = {"from_email": site.settings.default_from_email}
email_template_context = {
"domain": site.domain,
- "logo_url": logo_url,
"site_name": site.name,
}
return send_email_kwargs, email_template_context
diff --git a/templates/templated_email/compiled/account_delete.html b/templates/templated_email/compiled/account_delete.html
index 4d05fea294..7352a4433f 100644
--- a/templates/templated_email/compiled/account_delete.html
+++ b/templates/templated_email/compiled/account_delete.html
@@ -27,7 +27,7 @@
<![endif]-->
<!--[if lte mso 11]>
<style type="text/css">
- .mj-outlook-group-fix { width:100% !important; }
+ .outlook-group-fix { width:100% !important; }
</style>
<![endif]-->
@@ -50,12 +50,6 @@
<style type="text/css">
-
- @media only screen and (max-width:480px) {
- table.mj-full-width-mobile { width: 100% !important; }
- td.mj-full-width-mobile { width: auto !important; }
- }
-
</style>
<style type="text/css">address {
font-style: inherit;
@@ -66,7 +60,7 @@
<body>
- <div style>
+ <div style="">
{% load i18n %}{% load static %}
<!--[if mso | IE]>
@@ -94,77 +88,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
- <tr>
- <td align="center" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:collapse;border-spacing:0px;">
- <tbody>
- <tr>
- <td style="padding: 5px; width: 176px;" width="176">
-
- <img height="38" src="{{ logo_url }}" style="border:0;display:block;outline:none;text-decoration:none;height:38px;width:100%;font-size:13px;" width="176">
-
- </td>
- </tr>
- </tbody>
- </table>
-
- </td>
- </tr>
-
- </table>
-
- </div>
-
- <!--[if mso | IE]>
- </td>
-
- </tr>
-
- </table>
- <![endif]-->
- </td>
- </tr>
- </tbody>
- </table>
-
- </div>
-
-
- <!--[if mso | IE]>
- </td>
- </tr>
- </table>
-
- <table
- align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
- >
- <tr>
- <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
- <![endif]-->
-
-
- <div style="margin:0px auto;max-width:600px;">
-
- <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
- <tbody>
- <tr>
- <td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
- <!--[if mso | IE]>
- <table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
- <tr>
-
- <td
- class="" style="vertical-align:top;width:600px;"
- >
- <![endif]-->
-
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -245,7 +169,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -307,7 +231,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -369,7 +293,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
diff --git a/templates/templated_email/compiled/confirm.html b/templates/templated_email/compiled/confirm.html
index 78dd94f0a4..e3e3978fa9 100644
--- a/templates/templated_email/compiled/confirm.html
+++ b/templates/templated_email/compiled/confirm.html
@@ -27,7 +27,7 @@
<![endif]-->
<!--[if lte mso 11]>
<style type="text/css">
- .mj-outlook-group-fix { width:100% !important; }
+ .outlook-group-fix { width:100% !important; }
</style>
<![endif]-->
@@ -50,12 +50,6 @@
<style type="text/css">
-
- @media only screen and (max-width:480px) {
- table.mj-full-width-mobile { width: 100% !important; }
- td.mj-full-width-mobile { width: auto !important; }
- }
-
</style>
<style type="text/css">address {
font-style: inherit;
@@ -66,7 +60,7 @@
<body>
- <div style>
+ <div style="">
{% load i18n %}{% load static %}
<!--[if mso | IE]>
@@ -94,77 +88,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
- <tr>
- <td align="center" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:collapse;border-spacing:0px;">
- <tbody>
- <tr>
- <td style="padding: 5px; width: 176px;" width="176">
-
- <img height="38" src="{{ logo_url }}" style="border:0;display:block;outline:none;text-decoration:none;height:38px;width:100%;font-size:13px;" width="176">
-
- </td>
- </tr>
- </tbody>
- </table>
-
- </td>
- </tr>
-
- </table>
-
- </div>
-
- <!--[if mso | IE]>
- </td>
-
- </tr>
-
- </table>
- <![endif]-->
- </td>
- </tr>
- </tbody>
- </table>
-
- </div>
-
-
- <!--[if mso | IE]>
- </td>
- </tr>
- </table>
-
- <table
- align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
- >
- <tr>
- <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
- <![endif]-->
-
-
- <div style="margin:0px auto;max-width:600px;">
-
- <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
- <tbody>
- <tr>
- <td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
- <!--[if mso | IE]>
- <table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
- <tr>
-
- <td
- class="" style="vertical-align:top;width:600px;"
- >
- <![endif]-->
-
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -245,7 +169,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -307,7 +231,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -369,7 +293,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
diff --git a/templates/templated_email/compiled/confirm_fulfillment.html b/templates/templated_email/compiled/confirm_fulfillment.html
index 076f130569..37c1a503d6 100644
--- a/templates/templated_email/compiled/confirm_fulfillment.html
+++ b/templates/templated_email/compiled/confirm_fulfillment.html
@@ -27,7 +27,7 @@
<![endif]-->
<!--[if lte mso 11]>
<style type="text/css">
- .mj-outlook-group-fix { width:100% !important; }
+ .outlook-group-fix { width:100% !important; }
</style>
<![endif]-->
@@ -50,12 +50,6 @@
<style type="text/css">
-
- @media only screen and (max-width:480px) {
- table.mj-full-width-mobile { width: 100% !important; }
- td.mj-full-width-mobile { width: auto !important; }
- }
-
</style>
<style type="text/css">address {
font-style: inherit;
@@ -66,7 +60,7 @@
<body>
- <div style>
+ <div style="">
{% load i18n %}{% load static %}
<!--[if mso | IE]>
@@ -94,77 +88,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
- <tr>
- <td align="center" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:collapse;border-spacing:0px;">
- <tbody>
- <tr>
- <td style="padding: 5px; width: 176px;" width="176">
-
- <img height="38" src="{{ logo_url }}" style="border:0;display:block;outline:none;text-decoration:none;height:38px;width:100%;font-size:13px;" width="176">
-
- </td>
- </tr>
- </tbody>
- </table>
-
- </td>
- </tr>
-
- </table>
-
- </div>
-
- <!--[if mso | IE]>
- </td>
-
- </tr>
-
- </table>
- <![endif]-->
- </td>
- </tr>
- </tbody>
- </table>
-
- </div>
-
-
- <!--[if mso | IE]>
- </td>
- </tr>
- </table>
-
- <table
- align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
- >
- <tr>
- <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
- <![endif]-->
-
-
- <div style="margin:0px auto;max-width:600px;">
-
- <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
- <tbody>
- <tr>
- <td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
- <!--[if mso | IE]>
- <table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
- <tr>
-
- <td
- class="" style="vertical-align:top;width:600px;"
- >
- <![endif]-->
-
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -255,7 +179,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -352,7 +276,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -414,7 +338,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -476,7 +400,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
diff --git a/templates/templated_email/compiled/confirm_order.html b/templates/templated_email/compiled/confirm_order.html
index f97d457fdf..cf72f01b1f 100644
--- a/templates/templated_email/compiled/confirm_order.html
+++ b/templates/templated_email/compiled/confirm_order.html
@@ -27,7 +27,7 @@
<![endif]-->
<!--[if lte mso 11]>
<style type="text/css">
- .mj-outlook-group-fix { width:100% !important; }
+ .outlook-group-fix { width:100% !important; }
</style>
<![endif]-->
@@ -50,12 +50,6 @@
<style type="text/css">
-
- @media only screen and (max-width:480px) {
- table.mj-full-width-mobile { width: 100% !important; }
- td.mj-full-width-mobile { width: auto !important; }
- }
-
</style>
<style type="text/css">address {
font-style: inherit;
@@ -66,7 +60,7 @@
<body>
- <div style>
+ <div style="">
{% load i18n %}
{% load i18n_address_tags %}{% load static %}
@@ -95,77 +89,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
- <tr>
- <td align="center" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:collapse;border-spacing:0px;">
- <tbody>
- <tr>
- <td style="padding: 5px; width: 176px;" width="176">
-
- <img height="38" src="{{ logo_url }}" style="border:0;display:block;outline:none;text-decoration:none;height:38px;width:100%;font-size:13px;" width="176">
-
- </td>
- </tr>
- </tbody>
- </table>
-
- </td>
- </tr>
-
- </table>
-
- </div>
-
- <!--[if mso | IE]>
- </td>
-
- </tr>
-
- </table>
- <![endif]-->
- </td>
- </tr>
- </tbody>
- </table>
-
- </div>
-
-
- <!--[if mso | IE]>
- </td>
- </tr>
- </table>
-
- <table
- align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
- >
- <tr>
- <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
- <![endif]-->
-
-
- <div style="margin:0px auto;max-width:600px;">
-
- <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
- <tbody>
- <tr>
- <td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
- <!--[if mso | IE]>
- <table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
- <tr>
-
- <td
- class="" style="vertical-align:top;width:600px;"
- >
- <![endif]-->
-
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -241,7 +165,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -370,7 +294,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -455,7 +379,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -517,7 +441,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -579,7 +503,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
diff --git a/templates/templated_email/compiled/confirm_payment.html b/templates/templated_email/compiled/confirm_payment.html
index 204b9de3bd..55df55bcee 100644
--- a/templates/templated_email/compiled/confirm_payment.html
+++ b/templates/templated_email/compiled/confirm_payment.html
@@ -27,7 +27,7 @@
<![endif]-->
<!--[if lte mso 11]>
<style type="text/css">
- .mj-outlook-group-fix { width:100% !important; }
+ .outlook-group-fix { width:100% !important; }
</style>
<![endif]-->
@@ -50,12 +50,6 @@
<style type="text/css">
-
- @media only screen and (max-width:480px) {
- table.mj-full-width-mobile { width: 100% !important; }
- td.mj-full-width-mobile { width: auto !important; }
- }
-
</style>
<style type="text/css">address {
font-style: inherit;
@@ -66,7 +60,7 @@
<body>
- <div style>
+ <div style="">
{% load i18n %}{% load static %}
<!--[if mso | IE]>
@@ -94,77 +88,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
- <tr>
- <td align="center" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:collapse;border-spacing:0px;">
- <tbody>
- <tr>
- <td style="padding: 5px; width: 176px;" width="176">
-
- <img height="38" src="{{ logo_url }}" style="border:0;display:block;outline:none;text-decoration:none;height:38px;width:100%;font-size:13px;" width="176">
-
- </td>
- </tr>
- </tbody>
- </table>
-
- </td>
- </tr>
-
- </table>
-
- </div>
-
- <!--[if mso | IE]>
- </td>
-
- </tr>
-
- </table>
- <![endif]-->
- </td>
- </tr>
- </tbody>
- </table>
-
- </div>
-
-
- <!--[if mso | IE]>
- </td>
- </tr>
- </table>
-
- <table
- align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
- >
- <tr>
- <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
- <![endif]-->
-
-
- <div style="margin:0px auto;max-width:600px;">
-
- <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
- <tbody>
- <tr>
- <td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
- <!--[if mso | IE]>
- <table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
- <tr>
-
- <td
- class="" style="vertical-align:top;width:600px;"
- >
- <![endif]-->
-
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -235,7 +159,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -297,7 +221,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -359,7 +283,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
diff --git a/templates/templated_email/compiled/email_changed_notification.html b/templates/templated_email/compiled/email_changed_notification.html
index ad85b51123..d68fc491c3 100644
--- a/templates/templated_email/compiled/email_changed_notification.html
+++ b/templates/templated_email/compiled/email_changed_notification.html
@@ -27,7 +27,7 @@
<![endif]-->
<!--[if lte mso 11]>
<style type="text/css">
- .mj-outlook-group-fix { width:100% !important; }
+ .outlook-group-fix { width:100% !important; }
</style>
<![endif]-->
@@ -50,12 +50,6 @@
<style type="text/css">
-
- @media only screen and (max-width:480px) {
- table.mj-full-width-mobile { width: 100% !important; }
- td.mj-full-width-mobile { width: auto !important; }
- }
-
</style>
<style type="text/css">address {
font-style: inherit;
@@ -66,7 +60,7 @@
<body>
- <div style>
+ <div style="">
{% load i18n %}{% load static %}
<!--[if mso | IE]>
@@ -94,77 +88,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
- <tr>
- <td align="center" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:collapse;border-spacing:0px;">
- <tbody>
- <tr>
- <td style="padding: 5px; width: 176px;" width="176">
-
- <img height="38" src="{{ logo_url }}" style="border:0;display:block;outline:none;text-decoration:none;height:38px;width:100%;font-size:13px;" width="176">
-
- </td>
- </tr>
- </tbody>
- </table>
-
- </td>
- </tr>
-
- </table>
-
- </div>
-
- <!--[if mso | IE]>
- </td>
-
- </tr>
-
- </table>
- <![endif]-->
- </td>
- </tr>
- </tbody>
- </table>
-
- </div>
-
-
- <!--[if mso | IE]>
- </td>
- </tr>
- </table>
-
- <table
- align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
- >
- <tr>
- <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
- <![endif]-->
-
-
- <div style="margin:0px auto;max-width:600px;">
-
- <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
- <tbody>
- <tr>
- <td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
- <!--[if mso | IE]>
- <table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
- <tr>
-
- <td
- class="" style="vertical-align:top;width:600px;"
- >
- <![endif]-->
-
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -235,7 +159,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -297,7 +221,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -359,7 +283,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
diff --git a/templates/templated_email/compiled/password_reset.html b/templates/templated_email/compiled/password_reset.html
index c68987cb4a..07a3fec316 100644
--- a/templates/templated_email/compiled/password_reset.html
+++ b/templates/templated_email/compiled/password_reset.html
@@ -27,7 +27,7 @@
<![endif]-->
<!--[if lte mso 11]>
<style type="text/css">
- .mj-outlook-group-fix { width:100% !important; }
+ .outlook-group-fix { width:100% !important; }
</style>
<![endif]-->
@@ -50,12 +50,6 @@
<style type="text/css">
-
- @media only screen and (max-width:480px) {
- table.mj-full-width-mobile { width: 100% !important; }
- td.mj-full-width-mobile { width: auto !important; }
- }
-
</style>
<style type="text/css">address {
font-style: inherit;
@@ -66,7 +60,7 @@
<body>
- <div style>
+ <div style="">
{% load i18n %}{% load static %}
<!--[if mso | IE]>
@@ -94,77 +88,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
- <tr>
- <td align="center" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:collapse;border-spacing:0px;">
- <tbody>
- <tr>
- <td style="padding: 5px; width: 176px;" width="176">
-
- <img height="38" src="{{ logo_url }}" style="border:0;display:block;outline:none;text-decoration:none;height:38px;width:100%;font-size:13px;" width="176">
-
- </td>
- </tr>
- </tbody>
- </table>
-
- </td>
- </tr>
-
- </table>
-
- </div>
-
- <!--[if mso | IE]>
- </td>
-
- </tr>
-
- </table>
- <![endif]-->
- </td>
- </tr>
- </tbody>
- </table>
-
- </div>
-
-
- <!--[if mso | IE]>
- </td>
- </tr>
- </table>
-
- <table
- align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
- >
- <tr>
- <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
- <![endif]-->
-
-
- <div style="margin:0px auto;max-width:600px;">
-
- <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
- <tbody>
- <tr>
- <td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
- <!--[if mso | IE]>
- <table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
- <tr>
-
- <td
- class="" style="vertical-align:top;width:600px;"
- >
- <![endif]-->
-
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -245,7 +169,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -307,7 +231,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -369,7 +293,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
diff --git a/templates/templated_email/compiled/request_email_change.html b/templates/templated_email/compiled/request_email_change.html
index 1d9c10b268..3f7f1b8da2 100644
--- a/templates/templated_email/compiled/request_email_change.html
+++ b/templates/templated_email/compiled/request_email_change.html
@@ -27,7 +27,7 @@
<![endif]-->
<!--[if lte mso 11]>
<style type="text/css">
- .mj-outlook-group-fix { width:100% !important; }
+ .outlook-group-fix { width:100% !important; }
</style>
<![endif]-->
@@ -50,12 +50,6 @@
<style type="text/css">
-
- @media only screen and (max-width:480px) {
- table.mj-full-width-mobile { width: 100% !important; }
- td.mj-full-width-mobile { width: auto !important; }
- }
-
</style>
<style type="text/css">address {
font-style: inherit;
@@ -66,7 +60,7 @@
<body>
- <div style>
+ <div style="">
{% load i18n %}{% load static %}
<!--[if mso | IE]>
@@ -94,77 +88,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
- <tr>
- <td align="center" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:collapse;border-spacing:0px;">
- <tbody>
- <tr>
- <td style="padding: 5px; width: 176px;" width="176">
-
- <img height="38" src="{{ logo_url }}" style="border:0;display:block;outline:none;text-decoration:none;height:38px;width:100%;font-size:13px;" width="176">
-
- </td>
- </tr>
- </tbody>
- </table>
-
- </td>
- </tr>
-
- </table>
-
- </div>
-
- <!--[if mso | IE]>
- </td>
-
- </tr>
-
- </table>
- <![endif]-->
- </td>
- </tr>
- </tbody>
- </table>
-
- </div>
-
-
- <!--[if mso | IE]>
- </td>
- </tr>
- </table>
-
- <table
- align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
- >
- <tr>
- <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
- <![endif]-->
-
-
- <div style="margin:0px auto;max-width:600px;">
-
- <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
- <tbody>
- <tr>
- <td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
- <!--[if mso | IE]>
- <table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
- <tr>
-
- <td
- class="" style="vertical-align:top;width:600px;"
- >
- <![endif]-->
-
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -245,7 +169,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -307,7 +231,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -369,7 +293,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
diff --git a/templates/templated_email/compiled/set_customer_password.html b/templates/templated_email/compiled/set_customer_password.html
index f91b6786c3..cf86d13d3f 100644
--- a/templates/templated_email/compiled/set_customer_password.html
+++ b/templates/templated_email/compiled/set_customer_password.html
@@ -27,7 +27,7 @@
<![endif]-->
<!--[if lte mso 11]>
<style type="text/css">
- .mj-outlook-group-fix { width:100% !important; }
+ .outlook-group-fix { width:100% !important; }
</style>
<![endif]-->
@@ -50,12 +50,6 @@
<style type="text/css">
-
- @media only screen and (max-width:480px) {
- table.mj-full-width-mobile { width: 100% !important; }
- td.mj-full-width-mobile { width: auto !important; }
- }
-
</style>
<style type="text/css">address {
font-style: inherit;
@@ -66,7 +60,7 @@
<body>
- <div style>
+ <div style="">
{% load i18n %}{% load static %}
<!--[if mso | IE]>
@@ -94,77 +88,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
- <tr>
- <td align="center" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:collapse;border-spacing:0px;">
- <tbody>
- <tr>
- <td style="padding: 5px; width: 176px;" width="176">
-
- <img height="38" src="{{ logo_url }}" style="border:0;display:block;outline:none;text-decoration:none;height:38px;width:100%;font-size:13px;" width="176">
-
- </td>
- </tr>
- </tbody>
- </table>
-
- </td>
- </tr>
-
- </table>
-
- </div>
-
- <!--[if mso | IE]>
- </td>
-
- </tr>
-
- </table>
- <![endif]-->
- </td>
- </tr>
- </tbody>
- </table>
-
- </div>
-
-
- <!--[if mso | IE]>
- </td>
- </tr>
- </table>
-
- <table
- align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
- >
- <tr>
- <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
- <![endif]-->
-
-
- <div style="margin:0px auto;max-width:600px;">
-
- <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
- <tbody>
- <tr>
- <td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
- <!--[if mso | IE]>
- <table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
- <tr>
-
- <td
- class="" style="vertical-align:top;width:600px;"
- >
- <![endif]-->
-
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -245,7 +169,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -307,7 +231,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -369,7 +293,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
diff --git a/templates/templated_email/compiled/set_password.html b/templates/templated_email/compiled/set_password.html
index 986e64aed9..a1e90dbd02 100644
--- a/templates/templated_email/compiled/set_password.html
+++ b/templates/templated_email/compiled/set_password.html
@@ -27,7 +27,7 @@
<![endif]-->
<!--[if lte mso 11]>
<style type="text/css">
- .mj-outlook-group-fix { width:100% !important; }
+ .outlook-group-fix { width:100% !important; }
</style>
<![endif]-->
@@ -50,12 +50,6 @@
<style type="text/css">
-
- @media only screen and (max-width:480px) {
- table.mj-full-width-mobile { width: 100% !important; }
- td.mj-full-width-mobile { width: auto !important; }
- }
-
</style>
<style type="text/css">address {
font-style: inherit;
@@ -66,7 +60,7 @@
<body>
- <div style>
+ <div style="">
{% load i18n %}{% load static %}
<!--[if mso | IE]>
@@ -94,77 +88,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
- <tr>
- <td align="center" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:collapse;border-spacing:0px;">
- <tbody>
- <tr>
- <td style="padding: 5px; width: 176px;" width="176">
-
- <img height="38" src="{{ logo_url }}" style="border:0;display:block;outline:none;text-decoration:none;height:38px;width:100%;font-size:13px;" width="176">
-
- </td>
- </tr>
- </tbody>
- </table>
-
- </td>
- </tr>
-
- </table>
-
- </div>
-
- <!--[if mso | IE]>
- </td>
-
- </tr>
-
- </table>
- <![endif]-->
- </td>
- </tr>
- </tbody>
- </table>
-
- </div>
-
-
- <!--[if mso | IE]>
- </td>
- </tr>
- </table>
-
- <table
- align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
- >
- <tr>
- <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
- <![endif]-->
-
-
- <div style="margin:0px auto;max-width:600px;">
-
- <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
- <tbody>
- <tr>
- <td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
- <!--[if mso | IE]>
- <table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
- <tr>
-
- <td
- class="" style="vertical-align:top;width:600px;"
- >
- <![endif]-->
-
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -245,7 +169,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -307,7 +231,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -369,7 +293,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
diff --git a/templates/templated_email/compiled/staff_confirm_order.html b/templates/templated_email/compiled/staff_confirm_order.html
index bb7234a0fb..e22403766d 100644
--- a/templates/templated_email/compiled/staff_confirm_order.html
+++ b/templates/templated_email/compiled/staff_confirm_order.html
@@ -27,7 +27,7 @@
<![endif]-->
<!--[if lte mso 11]>
<style type="text/css">
- .mj-outlook-group-fix { width:100% !important; }
+ .outlook-group-fix { width:100% !important; }
</style>
<![endif]-->
@@ -50,12 +50,6 @@
<style type="text/css">
-
- @media only screen and (max-width:480px) {
- table.mj-full-width-mobile { width: 100% !important; }
- td.mj-full-width-mobile { width: auto !important; }
- }
-
</style>
<style type="text/css">address {
font-style: inherit;
@@ -66,7 +60,7 @@
<body>
- <div style>
+ <div style="">
{% load i18n %}
{% load i18n_address_tags %}{% load static %}
@@ -95,77 +89,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
- <tr>
- <td align="center" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:collapse;border-spacing:0px;">
- <tbody>
- <tr>
- <td style="padding: 5px; width: 176px;" width="176">
-
- <img height="38" src="{{ logo_url }}" style="border:0;display:block;outline:none;text-decoration:none;height:38px;width:100%;font-size:13px;" width="176">
-
- </td>
- </tr>
- </tbody>
- </table>
-
- </td>
- </tr>
-
- </table>
-
- </div>
-
- <!--[if mso | IE]>
- </td>
-
- </tr>
-
- </table>
- <![endif]-->
- </td>
- </tr>
- </tbody>
- </table>
-
- </div>
-
-
- <!--[if mso | IE]>
- </td>
- </tr>
- </table>
-
- <table
- align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
- >
- <tr>
- <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
- <![endif]-->
-
-
- <div style="margin:0px auto;max-width:600px;">
-
- <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
- <tbody>
- <tr>
- <td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
- <!--[if mso | IE]>
- <table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
- <tr>
-
- <td
- class="" style="vertical-align:top;width:600px;"
- >
- <![endif]-->
-
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -241,7 +165,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -370,7 +294,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -455,7 +379,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -517,7 +441,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -579,7 +503,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
diff --git a/templates/templated_email/compiled/update_fulfillment.html b/templates/templated_email/compiled/update_fulfillment.html
index 19714b42b7..26cc5ed9be 100644
--- a/templates/templated_email/compiled/update_fulfillment.html
+++ b/templates/templated_email/compiled/update_fulfillment.html
@@ -27,7 +27,7 @@
<![endif]-->
<!--[if lte mso 11]>
<style type="text/css">
- .mj-outlook-group-fix { width:100% !important; }
+ .outlook-group-fix { width:100% !important; }
</style>
<![endif]-->
@@ -50,12 +50,6 @@
<style type="text/css">
-
- @media only screen and (max-width:480px) {
- table.mj-full-width-mobile { width: 100% !important; }
- td.mj-full-width-mobile { width: auto !important; }
- }
-
</style>
<style type="text/css">address {
font-style: inherit;
@@ -66,7 +60,7 @@
<body>
- <div style>
+ <div style="">
{% load i18n %}{% load static %}
<!--[if mso | IE]>
@@ -94,77 +88,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
- <tr>
- <td align="center" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:collapse;border-spacing:0px;">
- <tbody>
- <tr>
- <td style="padding: 5px; width: 176px;" width="176">
-
- <img height="38" src="{{ logo_url }}" style="border:0;display:block;outline:none;text-decoration:none;height:38px;width:100%;font-size:13px;" width="176">
-
- </td>
- </tr>
- </tbody>
- </table>
-
- </td>
- </tr>
-
- </table>
-
- </div>
-
- <!--[if mso | IE]>
- </td>
-
- </tr>
-
- </table>
- <![endif]-->
- </td>
- </tr>
- </tbody>
- </table>
-
- </div>
-
-
- <!--[if mso | IE]>
- </td>
- </tr>
- </table>
-
- <table
- align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
- >
- <tr>
- <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
- <![endif]-->
-
-
- <div style="margin:0px auto;max-width:600px;">
-
- <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
- <tbody>
- <tr>
- <td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
- <!--[if mso | IE]>
- <table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
- <tr>
-
- <td
- class="" style="vertical-align:top;width:600px;"
- >
- <![endif]-->
-
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -243,7 +167,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -340,7 +264,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -402,7 +326,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
@@ -464,7 +388,7 @@
>
<![endif]-->
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+ <div class="mj-column-per-100 outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
diff --git a/templates/templated_email/source/shared/header.mjml b/templates/templated_email/source/shared/header.mjml
index 993d39265f..5d6857919a 100644
--- a/templates/templated_email/source/shared/header.mjml
+++ b/templates/templated_email/source/shared/header.mjml
@@ -1,8 +1,3 @@
<mj-raw>
{% load static %}
</mj-raw>
-<mj-section>
- <mj-column>
- <mj-image src="{{ logo_url }}" height="38px" width="176px"/>
- </mj-column>
-</mj-section>
diff --git a/tests/test_core.py b/tests/test_core.py
index bee2155cd5..a8615d9d53 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -231,10 +231,10 @@ def test_build_absolute_uri(site_settings, settings):
assert build_absolute_uri(location=url) == url
# Case when static url is resolved to relative url
- logo_url = build_absolute_uri(static("images/logo-light.svg"))
+ logo_url = build_absolute_uri(static("images/close.svg"))
protocol = "https" if settings.ENABLE_SSL else "http"
current_url = "%s://%s" % (protocol, site_settings.site.domain)
- logo_location = urljoin(current_url, static("images/logo-light.svg"))
+ logo_location = urljoin(current_url, static("images/close.svg"))
assert logo_url == logo_location
diff --git a/tests/test_emails.py b/tests/test_emails.py
index 3dc57c8ec7..bcf2fbf224 100644
--- a/tests/test_emails.py
+++ b/tests/test_emails.py
@@ -4,24 +4,20 @@ from urllib.parse import urlencode
import pytest
from django.core import mail
from django.core.exceptions import ImproperlyConfigured
-from django.templatetags.static import static
from templated_email import get_connection
import saleor.account.emails as account_emails
import saleor.order.emails as emails
from saleor.core.emails import get_email_context, prepare_url
-from saleor.core.utils import build_absolute_uri
from saleor.order.utils import add_variant_to_draft_order
def test_get_email_context(site_settings):
site = site_settings.site
- logo_url = build_absolute_uri(static("images/logo-light.svg"))
expected_send_kwargs = {"from_email": site_settings.default_from_email}
proper_context = {
"domain": site.domain,
- "logo_url": logo_url,
"site_name": site.name,
}
@@ -309,7 +305,6 @@ def test_send_email_request_change(
)
ctx = {
"domain": "mirumee.com",
- "logo_url": "http://mirumee.com/static/images/logo-light.svg",
"redirect_url": "localhost?token=token_example",
"site_name": "mirumee.com",
}
@@ -340,7 +335,6 @@ def test_send_email_changed_notification(
account_emails.send_user_change_email_notification(old_email)
ctx = {
"domain": "mirumee.com",
- "logo_url": "http://mirumee.com/static/images/logo-light.svg",
"site_name": "mirumee.com",
}
recipients = [old_email]