2016-04-21 08:48:33 +02:00
{#
2013-05-22 23:52:17 +02:00
Mail sent to user when she was not logged in and received a PM or @-mention
2016-04-21 08:48:33 +02:00
#}
2013-05-03 20:24:55 +02:00
Hello {{ name }},
<p>
2013-05-20 18:48:08 +02:00
While you were away you received {{ message_count }} new message{{ message_count|pluralize }}{% if mention %} in which you were mentioned{%endif %}!
2013-05-03 20:24:55 +02:00
</p>
2013-05-21 19:24:01 +02:00
<div id='messages' style="width: 600px;font-size: 12px;font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;overflow-y: scroll;">
2013-05-20 18:48:08 +02:00
{% for recipient_block in messages %}
2013-12-04 21:00:22 +01:00
<div class='recipient_block' style="{% if not recipient_block.header.stream_message %}background-color: #feffe0;{% endif %}border: 1px solid black;margin-bottom: 4px;">
<div class='recipient_header' style="{% if recipient_block.header.stream_message %}background-color: #9ecaff;{% else %}color: #ffffff;background-color: #444444;{% 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: #feffe0;{% endif %}margin-left: 1px;margin-right: 2px;">
2013-05-20 18:48:08 +02:00
{% for sender_block in recipient_block.senders %}
2013-05-21 19:24:01 +02:00
{% if sender_block.sender %} <div class="message_sender" style="font-weight: bold;padding-top: 1px;">{{ sender_block.sender }}</div>{% endif %}
2013-05-20 18:48:08 +02:00
{% for message_block in sender_block.content %}
2013-05-21 19:24:01 +02:00
<div class='message_content_block' style="padding-left: 6px;font-weight: normal;">
2013-05-20 18:48:08 +02:00
{{ message_block.html|safe }}
</div>
{% endfor %}
{% endfor %}
</div>
</div>
2013-05-03 20:24:55 +02:00
{% endfor %}
</div>
2013-05-20 18:48:08 +02:00
2014-08-11 14:15:16 +02:00
<p>
2016-08-14 02:15:43 +02:00
<a href="{{ realm_uri }}">Click here to log in to Zulip and view your new messages.</a>
2014-08-11 14:15:16 +02:00
{% if reply_to_zulip %}
Or just reply to this email.
{% endif %}
</p>
2013-05-03 20:24:55 +02:00
2013-05-13 16:26:52 +02:00
{% if reply_warning %}
2013-07-10 22:14:08 +02:00
<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>
2013-05-13 16:26:52 +02:00
{% endif %}
2013-05-03 20:24:55 +02:00
<p>Cheers,
<br>
2013-07-10 22:14:08 +02:00
The Zulip Team</p>
2013-05-23 17:48:35 +02:00
2016-08-13 00:39:22 +02:00
<p><a href="{{ realm_uri }}/#settings">Manage email preferences</a> | <a href="{{ unsubscribe_link }}">Unsubscribe from missed message emails</a></p>