mirror of
https://github.com/django/django.git
synced 2025-01-03 15:06:09 +00:00
Fixed #35742 -- Removed hardcoded "username" references in admin templates.
This commit is contained in:
parent
7d9dd7b68f
commit
862026a8b9
@ -3,9 +3,7 @@
|
||||
|
||||
{% block form_top %}
|
||||
{% if not is_popup %}
|
||||
<p>{% translate 'First, enter a username and password. Then, you’ll be able to edit more user options.' %}</p>
|
||||
{% else %}
|
||||
<p>{% translate "Enter a username and password." %}</p>
|
||||
<p>{% translate "After you've created a user, you’ll be able to edit more user options." %}</p>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block extrahead %}
|
||||
|
@ -57,7 +57,7 @@
|
||||
{% url 'admin_password_reset' as password_reset_url %}
|
||||
{% if password_reset_url %}
|
||||
<div class="password-reset-link">
|
||||
<a href="{{ password_reset_url }}">{% translate 'Forgotten your password or username?' %}</a>
|
||||
<a href="{{ password_reset_url }}">{% translate 'Forgotten your login credentials?' %}</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="submit-row">
|
||||
|
@ -5,7 +5,7 @@
|
||||
{% block reset_link %}
|
||||
{{ protocol }}://{{ domain }}{% url 'password_reset_confirm' uidb64=uid token=token %}
|
||||
{% endblock %}
|
||||
{% translate 'Your username, in case you’ve forgotten:' %} {{ user.get_username }}
|
||||
{% translate 'In case you’ve forgotten, you are:' %} {{ user.get_username }}
|
||||
|
||||
{% translate "Thanks for using our site!" %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user