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>
<div id='messages'>
2013-05-20 18:48:08 +02:00
{% for recipient_block in messages %}
<div class='recipient_block'>
<div class='recipient_header'>{{ recipient_block.header }}</div>
<div class='message_content'>
{% for sender_block in recipient_block.senders %}
{% if sender_block.sender %} <div class="message_sender">{{ sender_block.sender }}</div>{% endif %}
{% for message_block in sender_block.content %}
<div class='message_content_block'>
{{ 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-05-03 20:24:55 +02:00
<p><a href="{{ url }}">Click here to log in to Humbug and view your new messages.</a></p>
2013-05-13 16:26:52 +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 Humbug and send your replies there.</p>
{% endif %}
2013-05-03 20:24:55 +02:00
<p>Cheers,
<br>
The Humbug Team</p>