mirror of https://github.com/zulip/zulip.git
email: Fix filenames of notify_change_in_email templates.
This commit is contained in:
parent
cafc60dd1d
commit
0a32d9efa3
|
@ -90,7 +90,7 @@ class TemplateTestCase(ZulipTestCase):
|
|||
'confirmation/emailchangestatus_confirmation_email.subject',
|
||||
'confirmation/emailchangestatus_confirmation_email.html',
|
||||
'confirmation/emailchangestatus_confirmation_email.txt',
|
||||
'confirmation/notify_change_in_email_subject.txt',
|
||||
'confirmation/notify_change_in_email.subject',
|
||||
'corporate/mit.html',
|
||||
'corporate/zephyr.html',
|
||||
'corporate/zephyr-mirror.html',
|
||||
|
|
|
@ -60,9 +60,9 @@ def confirm_email_change(request, confirmation_key):
|
|||
'new_email': new_email,
|
||||
}
|
||||
subject = render_to_string(
|
||||
'confirmation/notify_change_in_email_subject.txt', context)
|
||||
'confirmation/notify_change_in_email.subject', context)
|
||||
body = render_to_string(
|
||||
'confirmation/notify_change_in_email_body.txt', context)
|
||||
'confirmation/notify_change_in_email.txt', context)
|
||||
send_mail(subject, body, settings.DEFAULT_FROM_EMAIL, [old_email])
|
||||
|
||||
ctx = {
|
||||
|
|
Loading…
Reference in New Issue