mirror of https://github.com/zulip/zulip.git
parent
00d48bff7d
commit
9088c46e4c
|
@ -5,7 +5,7 @@ Mail sent to user when she was not logged in and received a PM or @-mention
|
|||
Hello {{ name }},
|
||||
|
||||
<p>
|
||||
While you were away you received {{ message_count }} new message{{ message_count|pluralize }}{% if mention %} in which you were mentioned{%endif %}!
|
||||
While you were away you received {{ message_count }} new message{{ message_count|pluralize }}{% if mention %} in which you were mentioned{% endif %}!
|
||||
</p>
|
||||
|
||||
<div id='messages' style="width: 600px;font-size: 12px;font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;overflow-y: scroll;">
|
||||
|
@ -38,8 +38,10 @@ While you were away you received {{ message_count }} new message{{ message_count
|
|||
<p>Please do not reply to this automated message. To respond to the missed messages you have received, please log on to Zulip and send your replies there.</p>
|
||||
{% endif %}
|
||||
|
||||
<p>Cheers,
|
||||
<br>
|
||||
The Zulip Team</p>
|
||||
<p>
|
||||
Cheers,
|
||||
<br></br>
|
||||
The Zulip Team
|
||||
</p>
|
||||
|
||||
<p><a href="{{ realm_uri }}/#settings">Manage email preferences</a> | <a href="{{ unsubscribe_link }}">Unsubscribe from missed message emails</a></p>
|
|
@ -65,6 +65,7 @@ def check_html_templates(templates, modified_only, all_dups):
|
|||
'api-example-tabs',
|
||||
'errors',
|
||||
'email',
|
||||
'messages',
|
||||
'registration',
|
||||
'pw_strength',
|
||||
'id_password',
|
||||
|
|
|
@ -280,7 +280,7 @@ def do_send_missedmessage_events_reply_in_zulip(user_profile, missed_messages, m
|
|||
from_email = '"%s" <%s>' % (sender_str, sender.email)
|
||||
|
||||
text_content = loader.render_to_string('zerver/missed_message_email.txt', template_payload)
|
||||
html_content = loader.render_to_string('zerver/missed_message_email_html.txt', template_payload)
|
||||
html_content = loader.render_to_string('zerver/missed_message_email.html', template_payload)
|
||||
|
||||
msg = EmailMultiAlternatives(subject, text_content, from_email, [user_profile.email],
|
||||
headers = headers)
|
||||
|
|
Loading…
Reference in New Issue