From 1955476d246518f9ddb75f83a6c91403dc4868a4 Mon Sep 17 00:00:00 2001 From: moanos Date: Thu, 14 Nov 2024 18:32:08 +0100 Subject: [PATCH] feat: Improve activation e-mail format --- .../django_registration/activation_email_body.txt | 8 ++++---- .../django_registration/activation_email_subject.txt | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/templates/django_registration/activation_email_body.txt b/src/templates/django_registration/activation_email_body.txt index 6223f70..c36520e 100644 --- a/src/templates/django_registration/activation_email_body.txt +++ b/src/templates/django_registration/activation_email_body.txt @@ -1,8 +1,8 @@ {% load i18n %} -{% trans "Account aktivieren" %} {{ site.name }}: +{{ site.name }}: {% trans "Account aktivieren" %} -{% trans "Activate by clicking this link" %} -{% trans "oder öffne den folgenden link im Browser" %}: -{{ site.domain }}{% url 'django_registration_activate' activation_key%} + +{% trans "Öffne den folgenden link im Browser um deinen Account zu aktivieren" %}: +https://{{ site.domain }}{% url 'django_registration_activate' activation_key%} {% blocktrans %}Der link ist gültig für {{ expiration_days }} tage.{% endblocktrans %} \ No newline at end of file diff --git a/src/templates/django_registration/activation_email_subject.txt b/src/templates/django_registration/activation_email_subject.txt index 057aec5..9ef6b62 100644 --- a/src/templates/django_registration/activation_email_subject.txt +++ b/src/templates/django_registration/activation_email_subject.txt @@ -1 +1 @@ -{% load i18n %}{% translate "Account aktivieren" %} {{ site.name }} \ No newline at end of file +{% load i18n %}{{ site.name }}: {% translate "Account aktivieren" %} \ No newline at end of file