From 3a175662da52cc770d52e46a9abe2cd782aa2142 Mon Sep 17 00:00:00 2001 From: Andrea Lepori Date: Mon, 20 Jul 2020 23:53:03 +0200 Subject: search users, show attachments, fancy pass reset --- templates/registration/login.html | 3 ++ .../registration/password_reset_complete.html | 14 +++++++-- templates/registration/password_reset_confirm.html | 35 ++++++++++++++-------- templates/registration/password_reset_done.html | 24 ++++++++++----- templates/registration/password_reset_email.html | 11 +++---- templates/registration/password_reset_form.html | 21 +++++++++---- templates/registration/password_reset_subject.txt | 2 +- 7 files changed, 72 insertions(+), 38 deletions(-) (limited to 'templates') diff --git a/templates/registration/login.html b/templates/registration/login.html index 9459f93..9ee3bb8 100644 --- a/templates/registration/login.html +++ b/templates/registration/login.html @@ -11,6 +11,9 @@ {% csrf_token %} {{ form.as_p }}
+ Password dimenticata +
+
diff --git a/templates/registration/password_reset_complete.html b/templates/registration/password_reset_complete.html index c0bccc1..bf8e24c 100644 --- a/templates/registration/password_reset_complete.html +++ b/templates/registration/password_reset_complete.html @@ -1,7 +1,15 @@ {% extends 'registration/base_simple.html' %} {% block content %} -

- Your password has been set. You may go ahead and sign in now. -

+
+
+
+
+

+ La password è stata reimpostata con successo. Ora puoi fare il login. +

+
+
+
+
{% endblock %} \ No newline at end of file diff --git a/templates/registration/password_reset_confirm.html b/templates/registration/password_reset_confirm.html index 6838eb8..b0b46a4 100644 --- a/templates/registration/password_reset_confirm.html +++ b/templates/registration/password_reset_confirm.html @@ -1,17 +1,26 @@ {% extends 'registration/base_simple.html' %} {% block content %} - {% if validlink %} -

Change password

-
- {% csrf_token %} - {{ form.as_p }} - -
- {% else %} -

- The password reset link was invalid, possibly because it has already been used. - Please request a new password reset. -

- {% endif %} +
+
+
+
+ {% if validlink %} +
Cambia password
+
+ {% csrf_token %} + {{ form.as_p }} +
+ +
+ {% else %} +

+ Il link di reimpostazione della password è invalido, probabilmente perchè è già stato usato. + Prego richiedere un altro link. +

+ {% endif %} +
+
+
+
{% endblock %} \ No newline at end of file diff --git a/templates/registration/password_reset_done.html b/templates/registration/password_reset_done.html index 6abc3e1..399afb7 100644 --- a/templates/registration/password_reset_done.html +++ b/templates/registration/password_reset_done.html @@ -1,12 +1,20 @@ {% extends 'registration/base_simple.html' %} {% block content %} -

- We've emailed you instructions for setting your password, if an account exists with the email you entered. - You should receive them shortly. -

-

- If you don't receive an email, please make sure you've entered the address you registered with, - and check your spam folder. -

+
+
+
+
+

+ Ti abbiamo inviato una email con le istruzioni per reimpostare la password, se l'account inserito + esiste. Dovresti riceverle a breve. +

+

+ Se non hai ricevuto la email controlla che l'indirizzo inserito sia corretto e controlla la cartella + di spam. +

+
+
+
+
{% endblock %} \ No newline at end of file diff --git a/templates/registration/password_reset_email.html b/templates/registration/password_reset_email.html index da2c169..b5892a4 100644 --- a/templates/registration/password_reset_email.html +++ b/templates/registration/password_reset_email.html @@ -1,12 +1,9 @@ {% autoescape off %} -To initiate the password reset process for your {{ user.get_username }} TestSite Account, -click the link below: +Per reimpostare la password per l'utente {{ user.get_username }} +clicca il link qua sotto: {{ protocol }}://{{ domain }}{% url 'password_reset_confirm' uidb64=uid token=token %} -If clicking the link above doesn't work, please copy and paste the URL in a new browser -window instead. - -Sincerely, -The TestSite Team +Se cliccando il link non funziona prova a copiare ed incollare il link direttamente nella barra del +tuo browser. {% endautoescape %} \ No newline at end of file diff --git a/templates/registration/password_reset_form.html b/templates/registration/password_reset_form.html index d0d6250..5789900 100644 --- a/templates/registration/password_reset_form.html +++ b/templates/registration/password_reset_form.html @@ -1,10 +1,19 @@ {% extends 'registration/base_simple.html' %} {% block content %} -

Forgot password

-
- {% csrf_token %} - {{ form.as_p }} - -
+
+
+
+
+
Reimposta password
+
+ {% csrf_token %} + {{ form.as_p }} +
+ +
+
+
+
+
{% endblock %} \ No newline at end of file diff --git a/templates/registration/password_reset_subject.txt b/templates/registration/password_reset_subject.txt index 7b5a65b..711fff8 100644 --- a/templates/registration/password_reset_subject.txt +++ b/templates/registration/password_reset_subject.txt @@ -1 +1 @@ -TestSite password reset \ No newline at end of file +Scout Breganzona reimpostazione password \ No newline at end of file -- cgit v1.2.1