From 75611deaddb7712dc7c4e340d3f14c22c44b2992 Mon Sep 17 00:00:00 2001 From: PCoder Date: Sat, 2 Sep 2017 13:32:08 +0530 Subject: [PATCH] Further refactored user activation email --- datacenterlight/templates/datacenterlight/emails/base_email.txt | 2 -- .../templates/datacenterlight/emails/user_activation.html | 2 +- .../templates/datacenterlight/emails/user_activation.txt | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/datacenterlight/templates/datacenterlight/emails/base_email.txt b/datacenterlight/templates/datacenterlight/emails/base_email.txt index ddf9b9cf..46fd0730 100644 --- a/datacenterlight/templates/datacenterlight/emails/base_email.txt +++ b/datacenterlight/templates/datacenterlight/emails/base_email.txt @@ -2,8 +2,6 @@ {% load i18n %} {% block email_head %} {% endblock %} - {% block email_body %} {% endblock %} - {% trans 'Your Data Center Light Team' %} diff --git a/datacenterlight/templates/datacenterlight/emails/user_activation.html b/datacenterlight/templates/datacenterlight/emails/user_activation.html index ed2753a3..24c0d040 100644 --- a/datacenterlight/templates/datacenterlight/emails/user_activation.html +++ b/datacenterlight/templates/datacenterlight/emails/user_activation.html @@ -2,7 +2,7 @@ {% load static from staticfiles %} {% load i18n %} {% block email_head %} - {{dcl_text}} {% trans 'Account Activation' %} +{{dcl_text}} {% trans 'Account Activation' %} {% endblock %} {% block email_body %} {% blocktrans %} diff --git a/datacenterlight/templates/datacenterlight/emails/user_activation.txt b/datacenterlight/templates/datacenterlight/emails/user_activation.txt index 881e8087..d626bc8f 100644 --- a/datacenterlight/templates/datacenterlight/emails/user_activation.txt +++ b/datacenterlight/templates/datacenterlight/emails/user_activation.txt @@ -2,7 +2,7 @@ {% load static from staticfiles %} {% load i18n %} {% block email_head %} - {{dcl_text}} {% trans 'Account Activation' %} +{{dcl_text}} {% trans 'Account Activation' %} {% endblock %} {% block email_body %}