Rename digest_email_txt.html to digest_email.html.

The .html file ending is clearer and more in line with our other
email files.
This commit is contained in:
Rishi Gupta 2017-01-04 17:18:15 -08:00 committed by Tim Abbott
parent 416c8f3052
commit 8a07545afb
2 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ def handle_digest_email(user_profile_id, cutoff):
text_content = loader.render_to_string( text_content = loader.render_to_string(
'zerver/emails/digest/digest_email.txt', template_payload) 'zerver/emails/digest/digest_email.txt', template_payload)
html_content = loader.render_to_string( html_content = loader.render_to_string(
'zerver/emails/digest/digest_email_html.txt', template_payload) 'zerver/emails/digest/digest_email.html', template_payload)
# We don't want to send emails containing almost no information. # We don't want to send emails containing almost no information.
if enough_traffic(template_payload["unread_pms"], if enough_traffic(template_payload["unread_pms"],