Added translation and refactored user activation txt email

This commit is contained in:
PCoder 2017-09-02 13:25:47 +05:30
commit eb79251fc0
3 changed files with 29 additions and 27 deletions

View file

@ -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 %}

View file

@ -1,11 +1,14 @@
{% extends "datacenterlight/emails/base_email.txt" %}
{% load static from staticfiles %}
{% load i18n %}
{{dcl_text}} {% trans 'account activation' %}
{% block email_head %}
{{dcl_text}} {% trans 'Account Activation' %}
{% endblock %}
{% block email_body %}
{% blocktrans %}
Hi,
You can activate your {{dcl_text}} account by clicking here {{base_url}}{{activation_link}}
{% endblocktrans %}
{% trans 'Your' %} {{dcl_text}} {% trans 'team' %}
{% endblock %}