Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#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 %}

Change History (1)

comment:1 by Adrian Holovaty, 19 years ago

Resolution: fixed
Status: newclosed

(In [1100]) Fixed #727 -- Fixed leftover %() syntax in password_reset_email template. Thanks, Hugo

Note: See TracTickets for help on using tickets.
Back to Top