2017-06-27 19:09:15 +02:00
{% extends "zerver/emails/email_base_messages.html" %}
2013-05-03 20:24:55 +02:00
2017-06-27 19:09:15 +02:00
{% block content %}
2017-11-29 13:42:39 +01:00
{% if show_message_content %}
2017-07-06 23:59:11 +02:00
{% for recipient_block in messages %}
2019-06-11 12:39:42 +02:00
{% for sender_block in recipient_block.senders %}
< div class = "missed_message" >
2017-07-06 23:59:11 +02:00
{% for message_block in sender_block.content %}
{{ message_block.html|safe }}
{% endfor %}
2019-06-11 12:39:42 +02:00
< / div >
{% endfor %}
2017-07-06 23:59:11 +02:00
{% endfor %}
2020-01-31 12:55:47 +01:00
{% else %}
< div class = "missed_message" >
{% if message_content_disabled_by_realm %}
2020-04-24 19:46:52 +02:00
{% trans help_url=realm_uri + "/help/hide-message-content-in-emails" %}This email does not include message content because your organization has disabled < a class = "content_disabled_help_link" href = "{{ help_url }}" > message content appearing in email notifications< / a > .{% endtrans %}
2020-01-31 12:55:47 +01:00
{% elif message_content_disabled_by_user %}
2020-04-24 19:46:52 +02:00
{% trans alert_notif_url=realm_uri + "/help/pm-mention-alert-notifications" %}This email does not include message content because you have disabled < a class = "content_disabled_help_link" href = "{{ alert_notif_url }}" > message content appearing in email notifications< / a > .{% endtrans %}
2020-01-31 12:55:47 +01:00
{% endif %}
< / div >
2017-11-29 13:42:39 +01:00
{% endif %}
2017-06-27 19:09:15 +02:00
{% endblock %}
2013-05-23 17:48:35 +02:00
2017-06-27 19:09:15 +02:00
{% block manage_preferences %}
2019-06-18 14:13:53 +02:00
< div class = "email-preferences" >
2021-04-21 00:46:14 +02:00
— < br / >
2022-09-28 17:25:09 +02:00
{% if personal_mentioned %}
{% trans %}You are receiving this because you were personally mentioned.{% endtrans %}< br / >
{% elif mentioned_user_group_name %}
{% trans %}You are receiving this because @{{ mentioned_user_group_name }} was mentioned.{% endtrans %}< br / >
{% elif wildcard_mentioned %}
{% trans %}You are receiving this because everyone was mentioned.{% endtrans %}< br / >
2019-07-08 12:41:49 +02:00
{% elif stream_email_notify %}
2022-09-28 17:25:09 +02:00
{% trans %}You are receiving this because you have email notifications enabled for #{{ stream_name }}.{% endtrans %}< br / >
2019-07-08 08:02:17 +02:00
{% endif %}
2019-06-18 14:15:23 +02:00
{% if reply_to_zulip %}
2020-04-24 19:46:52 +02:00
{% trans notif_url=realm_uri + "/#settings/notifications" %}Reply to this email directly, < a href = "{{ narrow_url }}" > view it in Zulip< / a > , or < a href = "{{ notif_url }}" > manage email preferences< / a > .{% endtrans %}
2020-01-31 12:55:47 +01:00
{% elif not show_message_content %}
2021-04-21 00:46:14 +02:00
{% trans notif_url=realm_uri + "/#settings/notifications" %}< a href = "{{ narrow_url }}" > View or reply in Zulip< / a > , or < a href = "{{ notif_url }}" > manage email preferences< / a > .{% endtrans %} < br / >
2019-06-18 14:15:23 +02:00
{% else %}
2021-04-21 00:46:14 +02:00
{% trans notif_url=realm_uri + "/#settings/notifications" %}< a href = "{{ narrow_url }}" > Reply in Zulip< / a > , or < a href = "{{ notif_url }}" > manage email preferences< / a > .{% endtrans %} < br / >
< br / >
2020-04-24 19:46:52 +02:00
{% trans url="https://zulip.readthedocs.io/en/latest/production/email-gateway.html" %}
Do not reply to this email. This Zulip server is not configured to accept incoming emails (< a href = "{{ url }}" > help< / a > ).
{% endtrans %}
2019-07-20 02:16:17 +02:00
2019-06-18 14:15:23 +02:00
{% endif %}
2019-06-18 14:13:53 +02:00
< / div >
2017-06-27 19:09:15 +02:00
{% endblock %}