diff --git a/mailer/static/mailer/images/logo.png b/mailer/static/mailer/images/logo.png new file mode 100644 index 0000000..32fbf5d Binary files /dev/null and b/mailer/static/mailer/images/logo.png differ diff --git a/mailer/templates/emails/sellercentral/common/password_reset.html b/mailer/templates/emails/sellercentral/common/password_reset.html index be1d888..9e1dc89 100644 --- a/mailer/templates/emails/sellercentral/common/password_reset.html +++ b/mailer/templates/emails/sellercentral/common/password_reset.html @@ -14,8 +14,7 @@ -

Tradhox

-

From makers to the world

+ Tradhox diff --git a/mailer/templates/emails/sellercentral/common/verification.html b/mailer/templates/emails/sellercentral/common/verification.html index 524b614..d20fd25 100644 --- a/mailer/templates/emails/sellercentral/common/verification.html +++ b/mailer/templates/emails/sellercentral/common/verification.html @@ -14,8 +14,7 @@ -

Tradhox

-

From makers to the world

+ Tradhox diff --git a/mailer/templates/emails/sellercentral/common/welcome_email.html b/mailer/templates/emails/sellercentral/common/welcome_email.html index 250bc85..5d4a6b0 100644 --- a/mailer/templates/emails/sellercentral/common/welcome_email.html +++ b/mailer/templates/emails/sellercentral/common/welcome_email.html @@ -14,8 +14,7 @@ -

Tradhox

-

From makers to the world

+ Tradhox diff --git a/mailer/views.py b/mailer/views.py index a4babf6..8d54822 100644 --- a/mailer/views.py +++ b/mailer/views.py @@ -39,6 +39,8 @@ def send_test_email(request): } subject = "Welcome to Tradhox Family" + context['logo_url'] = request.build_absolute_uri('/static/mailer/images/logo.png') + try: html_content = render_to_string(f'emails/sellercentral/common/{template_name}.html', context) text_content = strip_tags(html_content)