Added translation and refactored user activation txt email
This commit is contained in:
parent
aecdff2ab7
commit
eb79251fc0
3 changed files with 29 additions and 27 deletions
|
|
@ -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 %}
|
||||
|
|
|
|||
|
|
@ -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 %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue