2017-06-27 19:09:15 +02:00
|
|
|
{% extends "zerver/emails/email_base_messages.html" %}
|
2013-10-21 23:35:36 +02:00
|
|
|
|
2017-06-27 19:09:15 +02:00
|
|
|
{% block content %}
|
2017-07-06 23:59:11 +02:00
|
|
|
{% if hot_conversations %}
|
|
|
|
{% for convo in hot_conversations %}
|
2018-12-31 09:54:59 +01:00
|
|
|
<div class='messages'>
|
2017-07-06 23:59:11 +02:00
|
|
|
{% for recipient_block in convo.first_few_messages %}
|
2016-09-14 06:54:48 +02:00
|
|
|
<div class='hot_convo_recipient_block'>
|
|
|
|
<div class='hot_convo_recipient_header'>{{ recipient_block.header.html|safe }}</div>
|
|
|
|
<div class='hot_convo_message_content'>
|
2017-07-06 23:59:11 +02:00
|
|
|
{% for sender_block in recipient_block.senders %}
|
2016-09-14 06:54:48 +02:00
|
|
|
{% if sender_block.sender %} <div class="hot_convo_message_sender">{{ sender_block.sender }}</div>{% endif %}
|
2017-07-06 23:59:11 +02:00
|
|
|
{% for message_block in sender_block.content %}
|
2016-09-14 06:54:48 +02:00
|
|
|
<div class='hot_convo_message_content_block'>
|
2017-07-06 23:59:11 +02:00
|
|
|
{{ message_block.html|safe }}
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
2017-06-14 00:12:30 +02:00
|
|
|
{% endfor %}
|
2017-07-06 23:59:11 +02:00
|
|
|
</div>
|
2017-06-14 00:12:30 +02:00
|
|
|
</div>
|
2017-07-06 23:59:11 +02:00
|
|
|
{% if convo.count > 0 %}<p>+ {{ convo.count }} more message{{ convo.count|pluralize }} by {{ convo.participants|display_list(4) }}.</p>{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
2017-06-14 00:12:30 +02:00
|
|
|
{% endfor %}
|
2017-07-06 23:59:11 +02:00
|
|
|
{% endif %}
|
2013-10-21 23:35:36 +02:00
|
|
|
|
2017-07-06 23:59:11 +02:00
|
|
|
{% if new_streams.html %}
|
2019-05-01 06:08:05 +02:00
|
|
|
<p><b>New streams</b></p>
|
2013-10-21 23:35:36 +02:00
|
|
|
|
2019-05-01 06:08:05 +02:00
|
|
|
<p>{{ new_streams.html|display_list(1000)|safe }}.</p>
|
2017-07-06 23:59:11 +02:00
|
|
|
{% endif %}
|
2013-10-21 23:35:36 +02:00
|
|
|
|
2017-07-06 23:59:11 +02:00
|
|
|
<br />
|
2013-10-21 23:35:36 +02:00
|
|
|
|
2017-07-06 23:59:11 +02:00
|
|
|
<p><a href="{{ realm_uri }}">Click here to log in to Zulip and catch up.</a></p>
|
2017-06-27 19:09:15 +02:00
|
|
|
{% endblock %}
|
2013-10-21 23:35:36 +02:00
|
|
|
|
2017-06-27 19:09:15 +02:00
|
|
|
{% block manage_preferences %}
|
2013-12-02 01:39:10 +01:00
|
|
|
<p>
|
2018-07-12 09:56:54 +02:00
|
|
|
<a href="{{ realm_uri }}/#settings/notifications">Manage email preferences</a> |
|
2017-06-14 00:12:30 +02:00
|
|
|
<a href="{{ unsubscribe_link }}">Unsubscribe from digest emails</a>
|
2013-12-02 01:39:10 +01:00
|
|
|
</p>
|
2017-06-27 19:09:15 +02:00
|
|
|
{% endblock %}
|