Code

Opened 9 years ago

Closed 9 years ago

Last modified 8 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 %}

Attachments (0)

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.