2017-06-27 19:09:15 +02:00
{% extends "zerver/emails/email_base_messages.html" %}
2013-05-03 20:24:55 +02:00
2017-06-27 19:12:01 +02:00
{% block preheader %}
{% for recipient_block in messages %}
{% for sender_block in recipient_block.senders %}
{% for message_block in sender_block.content %}
{{ message_block.html|safe }}
{% endfor %}
{% endfor %}
{% endfor %}
{% endblock %}
2017-06-27 19:09:15 +02:00
{% block content %}
2017-07-06 23:59:11 +02:00
Hello {{ name }},
< p >
2018-03-10 05:12:26 +01:00
While you were away you received {{ message_count }} new{% if group_pm %} group private{% elif private_message %} private{% endif %} message{{ message_count|pluralize }}{% if mention %} in which you were mentioned{% endif %}!
2017-07-06 23:59:11 +02:00
< / p >
2017-11-29 13:42:39 +01:00
{% if show_message_content %}
2018-12-31 09:54:59 +01:00
< div class = 'messages' >
2017-07-06 23:59:11 +02:00
{% for recipient_block in messages %}
2019-01-05 08:37:41 +01:00
{% if recipient_block.header.stream_message %}
2018-12-31 09:54:59 +01:00
< div class = 'recipient_block_with_messages' >
< div class = 'recipient_header_with_messages' > {{ recipient_block.header.html|safe }}< / div >
< div class = 'message_content_with_messages' >
2018-11-13 17:50:56 +01:00
{% else %}
2018-12-31 09:54:59 +01:00
< div class = 'recipient_block_without_messages' >
< div class = 'recipient_header_without_messages' > {{ recipient_block.header.html|safe }}< / div >
< div class = 'message_content_without_messages' >
2018-11-13 17:50:56 +01:00
{% endif %}
2017-07-06 23:59:11 +02:00
{% for sender_block in recipient_block.senders %}
2018-12-31 09:54:59 +01:00
{% if sender_block.sender %} < div class = "message_sender" > {{ sender_block.sender }}< / div > {% endif %}
2017-07-06 23:59:11 +02:00
{% for message_block in sender_block.content %}
2018-12-31 09:54:59 +01:00
< div class = 'message_content_block' >
2017-07-06 23:59:11 +02:00
{{ message_block.html|safe }}
< / div >
{% endfor %}
2017-02-24 16:42:13 +01:00
{% endfor %}
2017-07-06 23:59:11 +02:00
< / div >
2013-05-20 18:48:08 +02:00
< / div >
2017-07-06 23:59:11 +02:00
{% endfor %}
2013-05-20 18:48:08 +02:00
< / div >
2017-11-29 13:42:39 +01:00
{% endif %}
2013-05-20 18:48:08 +02:00
2017-07-06 23:59:11 +02:00
< p >
Cheers,
2018-02-15 22:16:40 +01:00
< br / >
2017-07-06 23:59:11 +02:00
The Zulip Team
< / p >
2017-06-27 19:09:15 +02:00
{% endblock %}
2013-05-23 17:48:35 +02:00
2017-06-27 19:09:15 +02:00
{% block manage_preferences %}
2019-06-18 14:13:53 +02:00
< div class = "email-preferences" >
— < br >
< a href = "{{ realm_uri }}/#settings/notifications" > Manage email preferences< / a > | < a href = "{{ unsubscribe_link }}" > Unsubscribe< / a > from missed message emails.< br >
2019-06-18 14:15:23 +02:00
{% if reply_to_zulip %}
Reply to this email directly, or < a href = "{{ narrow_url }}" > view it in Zulip< / a > < br >
{% else %}
Do not reply to this message. This Zulip server is not
configured to accept incoming emails (< a href = "https://zulip.readthedocs.io/en/latest/production/settings.html#miscellaneous-server-settings" > help< / a > ). < a href = "{{ narrow_url }}" > Reply in Zulip< / a > .< br >
{% endif %}
2019-06-18 14:13:53 +02:00
< / div >
2017-06-27 19:09:15 +02:00
{% endblock %}