mirror of https://github.com/zulip/zulip.git
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:
parent
416c8f3052
commit
8a07545afb
|
@ -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"],
|
||||||
|
|
Loading…
Reference in New Issue