Files
zulip/templates/zerver/missed_message_email_html.txt
Tim Abbott e111a2f9a5 [manual] Rename Django app from zephyr to zerver.
This needs to be deployed to both staging and prod at the same
off-peak time (and the schema migration run).

At the time it is deployed, we need to make a few changes directly in
the database:

(1) UPDATE django_content_type set app_label='zerver' where app_label='zephyr';
(2) UPDATE south_migrationhistory set app_name='zerver' where app_name='zephyr';

(imported from commit eb3fd719571740189514ef0b884738cb30df1320)
2013-08-06 07:39:36 -04:00

41 lines
1.8 KiB
Plaintext

{% comment %}
Mail sent to user when she was not logged in and received a PM or @-mention
{% endcomment %}
Hello {{ name }},
<p>
While you were away you received {{ message_count }} new message{{ message_count|pluralize }}{% if mention %} in which you were mentioned{%endif %}!
</p>
<div id='messages' style="width: 600px;font-size: 12px;font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;overflow-y: scroll;">
{% for recipient_block in messages %}
<div class='recipient_block' style="border: 1px solid black;margin-bottom: 4px;">
<div class='recipient_header' style="background-color: #9ecaff;border-bottom: 1px solid black;font-weight: bold;padding: 2px">{{ recipient_block.header }}</div>
<div class='message_content' style="margin-left: 1px;margin-right: 2px;">
{% 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 %}
{% endfor %}
</div>
</div>
{% endfor %}
</div>
<p><a href="{{ url }}">Click here to log in to Zulip and view your new messages.</a></p>
{% 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 %}
<p>Cheers,
<br>
The Zulip Team</p>
<p>Note: click <a href="https://zulip.com/#settings">here</a> to open your Zulip Settings page and disable future email notifications</p>