Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#727 closed defect (fixed)

[patch]: leftover %() syntax in password_reset_email.html

Reported by: hugo Owned by: adrian
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: UI/UX:

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 Changed 9 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

(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