#727 closed defect (fixed)
[patch]: leftover %() syntax in password_reset_email.html
Reported by: | hugo | Owned by: | Adrian Holovaty |
---|---|---|---|
Component: | contrib.admin | Version: | |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Just two %() I missed:
Index: contrib/admin/templates/registration/password_reset_email.html =================================================================== --- contrib/admin/templates/registration/password_reset_email.html (revision 1068) +++ contrib/admin/templates/registration/password_reset_email.html (working copy) @@ -2,7 +2,7 @@ {% trans "You're receiving this e-mail because you requested a password reset" %} {% trans "for your user account at %(site_name)s" %}. -{% trans "Your new password is: %(new_password)s" %} +{% blocktrans %}Your new password is: {{ new_password }}{% endblocktrans %} {% trans "Feel free to change this password by going to this page:" %} @@ -12,4 +12,4 @@ {% trans "Thanks for using our site!" %} -{% trans "The %(site_name)s team" %} +{% blocktrans %}The {{ site_name }} team{% endblocktrans %}
Note:
See TracTickets
for help on using tickets.
(In [1100]) Fixed #727 -- Fixed leftover %() syntax in password_reset_email template. Thanks, Hugo