From 170bc6cc0da6e1915e7e8594b565a149bab30917 Mon Sep 17 00:00:00 2001 From: Xandersoft Date: Wed, 16 Nov 2016 00:02:31 +0100 Subject: [PATCH 1/2] Looks like better My idea was only to set

{% trans "Reset Password" %}

--- seahub/templates/registration/password_reset_email.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/seahub/templates/registration/password_reset_email.html b/seahub/templates/registration/password_reset_email.html index 367e84875e..90b326067a 100644 --- a/seahub/templates/registration/password_reset_email.html +++ b/seahub/templates/registration/password_reset_email.html @@ -11,6 +11,8 @@

{% blocktrans with account=user.username %}To reset the password of your account {{ account }} on {{ site_name }}, please click the following link: {% endblocktrans %}

+

+

{{ url_base }}{% url 'auth_password_reset_confirm' uidb36=uid token=token %}

From 550ccb1b0207384e4ba20810862d075a72abf671 Mon Sep 17 00:00:00 2001 From: lian Date: Wed, 16 Nov 2016 18:15:16 +0800 Subject: [PATCH 2/2] Update password_reset_email.html --- .../templates/registration/password_reset_email.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/seahub/templates/registration/password_reset_email.html b/seahub/templates/registration/password_reset_email.html index 90b326067a..f26418a19f 100644 --- a/seahub/templates/registration/password_reset_email.html +++ b/seahub/templates/registration/password_reset_email.html @@ -9,15 +9,15 @@

{% trans "Hi," %}

-{% blocktrans with account=user.username %}To reset the password of your account {{ account }} on {{ site_name }}, please click the following link: {% endblocktrans %}
-
-

-

- {{ url_base }}{% url 'auth_password_reset_confirm' uidb36=uid token=token %} +{% blocktrans with account=user.username %}To reset the password of your account {{ account }} on {{ site_name }}, please click the following link: {% endblocktrans %} +

+ +

+{{ url_base }}{% url 'auth_password_reset_confirm' uidb36=uid token=token %}

-{% trans "If you did not request it, just skip it." %}
+{% trans "If you did not request it, just skip it." %}

{% endautoescape %}