From cafc60dd1d19388c747a60a168939e50e31a9881 Mon Sep 17 00:00:00 2001 From: Rishi Gupta Date: Sun, 30 Apr 2017 14:33:25 -0700 Subject: [PATCH] email: Move and rename missed_message_email templates. All email templates are being moved to templates/zerver/emails. --- .../{missed_message_email.html => emails/missed_message.html} | 0 .../{missed_message_email.txt => emails/missed_message.txt} | 0 zerver/lib/notifications.py | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) rename templates/zerver/{missed_message_email.html => emails/missed_message.html} (100%) rename templates/zerver/{missed_message_email.txt => emails/missed_message.txt} (100%) diff --git a/templates/zerver/missed_message_email.html b/templates/zerver/emails/missed_message.html similarity index 100% rename from templates/zerver/missed_message_email.html rename to templates/zerver/emails/missed_message.html diff --git a/templates/zerver/missed_message_email.txt b/templates/zerver/emails/missed_message.txt similarity index 100% rename from templates/zerver/missed_message_email.txt rename to templates/zerver/emails/missed_message.txt diff --git a/zerver/lib/notifications.py b/zerver/lib/notifications.py index 9ea89d3e1f..c589df9359 100644 --- a/zerver/lib/notifications.py +++ b/zerver/lib/notifications.py @@ -296,8 +296,8 @@ def do_send_missedmessage_events_reply_in_zulip(user_profile, missed_messages, m 'reply_to_zulip': False, }) - text_content = loader.render_to_string('zerver/missed_message_email.txt', template_payload) - html_content = loader.render_to_string('zerver/missed_message_email.html', template_payload) + text_content = loader.render_to_string('zerver/emails/missed_message.txt', template_payload) + html_content = loader.render_to_string('zerver/emails/missed_message.html', template_payload) email_content = { 'subject': subject, 'text_content': text_content,