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 %}
2017-09-19 11:35:11 +02:00
< div id = 'messages' style = "width: 600px;font-size: 12px;font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;overflow-y: auto;" >
2017-07-06 23:59:11 +02:00
{% for recipient_block in messages %}
2018-10-09 18:49:34 +02:00
< div class = 'recipient_block' style = "{% if not recipient_block.header.stream_message %}background-color: hsl(192, 20%, 95%);{% endif %}border: 1px solid black;margin-bottom: 4px;" >
< div class = 'recipient_header' style = "{% if recipient_block.header.stream_message %}background-color: hsl(213, 100%, 81%);{% else %}color: hsl(0, 0%, 100%);background-color: hsl(0, 0%, 27%);{% endif %}border-bottom: 1px solid black;font-weight: bold;padding: 2px;" > {{ recipient_block.header.html|safe }}< / div >
< div class = 'message_content' style = "{% if not recipient_block.header.stream_message %}background-color: hsl(192, 20%, 95%);{% endif %}margin-left: 1px;margin-right: 2px;" >
2017-07-06 23:59:11 +02:00
{% for sender_block in recipient_block.senders %}
{% if sender_block.sender %} < div class = "message_sender" style = "font-weight: bold;padding-top: 1px;" > {{ sender_block.sender }}< / div > {% endif %}
{% for message_block in sender_block.content %}
< div class = 'message_content_block' style = "padding-left: 6px;font-weight: normal;" >
{{ 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
2018-03-10 05:12:26 +01:00
2017-07-06 23:59:11 +02:00
< p >
< a href = "{{ realm_uri }}" > Click here to log in to Zulip and view your new messages.< / a >
2018-03-10 05:12:26 +01:00
{% if reply_to_zulip %}
2017-07-06 23:59:11 +02:00
Or just reply to this email.
{% endif %}
< / p >
2013-05-03 20:24:55 +02:00
2017-07-06 23:59:11 +02:00
{% if reply_warning %}
< 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 %}
2013-05-13 16:26:52 +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 %}
2018-07-12 09:56:54 +02:00
< p > < a href = "{{ realm_uri }}/#settings/notifications" > Manage email preferences< / a > | < a href = "{{ unsubscribe_link }}" > Unsubscribe from missed message emails< / a > < / p >
2017-06-27 19:09:15 +02:00
{% endblock %}