2013-05-03 20:24:55 +02:00
{% comment %}
2013-05-22 23:52:17 +02:00
Mail sent to user when she was not logged in and received a PM or @-mention
2013-05-03 20:24:55 +02:00
{% endcomment %}
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-05-21 19:24:01 +02:00
<div class='recipient_block' style="border: 1px solid black;margin-bottom: 4px;">
2013-10-04 23:56:04 +02:00
<div class='recipient_header' style="background-color: #9ecaff;border-bottom: 1px solid black;font-weight: bold;padding: 2px">{{ recipient_block.header.html|safe }}</div>
2013-05-21 19:24:01 +02:00
<div class='message_content' style="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
2013-07-10 22:14:08 +02:00
<p><a href="{{ url }}">Click here to log in to Zulip and view your new messages.</a></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
2013-11-25 16:47:19 +01:00
<p><a href="https://{{ external_host }}/#settings">Manage email preferences</a> | <a href="{{ unsubscribe_link }}">Unsubscribe from missed message emails</a></p>