Projet

Général

Profil

0001-templates-change-wording-for-password-change-fixes-2.patch

Benjamin Dauvergne, 11 juillet 2018 15:29

Télécharger (1,17 ko)

Voir les différences:

Subject: [PATCH] templates: change wording for password change (fixes #22225)

 .../templates/registration/password_change_form.html          | 4 ++++
 1 file changed, 4 insertions(+)
src/authentic2/templates/registration/password_change_form.html
13 13

  
14 14
{% block content %}
15 15
  <form method="post" action=".">
16
    {% if user.has_usable_password %}
16 17
    <p>{% blocktrans %}To change your password you must provide your current password, then provide
17 18
    the new password and confirm it.
18 19
    {% endblocktrans %}</p>
20
    {% else %}
21
    <p>{% blocktrans %}You are going to define your account password{% endblocktrans %}</p>
22
    {% endif %}
19 23
    {% csrf_token %}
20 24
    {{ form.as_p }}
21 25
    <button class="submit-button">{% trans 'Submit' %}</button>
22
-