diff --git a/common/static/images/auth/subscription_request.png b/common/static/images/auth/subscription_request.png new file mode 100644 index 0000000..9e5dcad Binary files /dev/null and b/common/static/images/auth/subscription_request.png differ diff --git a/common/templates/email_contact_sales.html b/common/templates/email_contact_sales.html index 4660781..ff8e3dd 100644 --- a/common/templates/email_contact_sales.html +++ b/common/templates/email_contact_sales.html @@ -1,6 +1,10 @@ -{% extends "base.html" %} {% block title %}New Subscription Request - {{ -plan_name }}{% endblock %} {% block content %} +{% extends "base.html" %} {% block title %}New Subscription Request - {{ plan_name }}{% endblock %} {% block content %}
+ {% if header_image_url %} +
+ New Subscription Request +
+ {% endif %}

New Subscription Request - {{ plan_name }}

diff --git a/common/utils/email_context.py b/common/utils/email_context.py index ab8366d..4d6c208 100644 --- a/common/utils/email_context.py +++ b/common/utils/email_context.py @@ -90,7 +90,8 @@ def get_email_context(email_context_data, custom_email): or email_context_data.get("sender_email", "support@spacedf.com") ), "email_footer": (_get_value(custom_email, "footer_text") or ""), - "header_image_url": _get_value(custom_email, "url_header_image") or "", + "header_image_url": _get_value(custom_email, "url_header_image") + or email_context_data.get("header_image_url", ""), "linkedin_url": social_links.get("linkedin_url", ""), "facebook_url": social_links.get("facebook_url"), "instagram_url": social_links.get("instagram_url"),