From 3370f06bffd80aba6e7db290ccc292801482e2f1 Mon Sep 17 00:00:00 2001 From: Arvind Tiwari Date: Sun, 15 Oct 2017 02:30:42 +0530 Subject: [PATCH] msg fix --- hosting/static/hosting/css/landing-page.css | 2 +- hosting/templates/hosting/includes/_messages.html | 3 +-- utils/locale/de/LC_MESSAGES/django.po | 2 +- utils/views.py | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/hosting/static/hosting/css/landing-page.css b/hosting/static/hosting/css/landing-page.css index 9a981d68..f989d479 100644 --- a/hosting/static/hosting/css/landing-page.css +++ b/hosting/static/hosting/css/landing-page.css @@ -450,7 +450,7 @@ h6 { } .auth-box .msg-list { - padding: 15px 25px 5px; + padding: 20px 25px 0; text-align: center; } diff --git a/hosting/templates/hosting/includes/_messages.html b/hosting/templates/hosting/includes/_messages.html index 13500fdb..12540558 100644 --- a/hosting/templates/hosting/includes/_messages.html +++ b/hosting/templates/hosting/includes/_messages.html @@ -1,8 +1,7 @@ {% if messages %} {% endif %} \ No newline at end of file diff --git a/utils/locale/de/LC_MESSAGES/django.po b/utils/locale/de/LC_MESSAGES/django.po index a8926cd0..8a961e7a 100644 --- a/utils/locale/de/LC_MESSAGES/django.po +++ b/utils/locale/de/LC_MESSAGES/django.po @@ -795,7 +795,7 @@ msgstr "Es wurde eine E-Mail mit dem Aktivierungslink an Dich gesendet." msgid "Account Activation" msgstr "Accountaktivierung" -msgid "The link to reset your email has been sent to your email" +msgid "The link to reset your password has been sent to your email" msgstr "" "Der Link zum Zurücksetzen deines Passwortes wurde an deine E-Mail gesendet" diff --git a/utils/views.py b/utils/views.py index a7d8c1c1..6e54cde6 100644 --- a/utils/views.py +++ b/utils/views.py @@ -104,7 +104,7 @@ class ResendActivationLinkViewMixin(FormView): class PasswordResetViewMixin(FormView): success_message = _( - "The link to reset your email has been sent to your email") + "The link to reset your password has been sent to your email") site = '' def test_generate_email_context(self, user):