mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
send_custom_email: Add a flag for sending release announcements.
This commit is contained in:
committed by
Tim Abbott
parent
79e718ed3a
commit
fdcfafd13d
@@ -13,9 +13,13 @@
|
||||
|
||||
{% block manage_preferences %}
|
||||
{% if remote_server_email %}
|
||||
<p>You are receiving this email to update you about important changes to Zulip's Terms of Service.</p>
|
||||
<a href="{{ unsubscribe_link }}">Unsubscribe</a>
|
||||
{% if released_version %}
|
||||
<p>You are receiving this email because you opted into release notifications.</p>
|
||||
{% else %}
|
||||
<p>You are receiving this email to update you about important changes to Zulip's Terms of Service.</p>
|
||||
<a href="{{ unsubscribe_link }}">Unsubscribe</a>
|
||||
{% endif %}
|
||||
{% elif unsubscribe_link %}
|
||||
<p><a href="{{ realm_url }}/#settings/notifications">{{ _("Manage email preferences") }}</a> | <a href="{{ unsubscribe_link }}">{{ _("Unsubscribe from marketing emails") }}</a></p>
|
||||
<p><a href="{{ realm_url }}/#settings/notifications">{{ _("Manage email preferences") }}</a> | <a href="{{ unsubscribe_link }}">{{ _("Unsubscribe from marketing emails") }}</a></p>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
|
||||
---
|
||||
{% if remote_server_email %}
|
||||
{% if released_version %}
|
||||
You are receiving this email because you opted into release notifications.
|
||||
{% else %}
|
||||
You are receiving this email to update you about important changes to Zulip's Terms of Service.
|
||||
|
||||
Unsubscribe: {{ unsubscribe_link }}
|
||||
{% endif %}
|
||||
{% elif unsubscribe_link %}
|
||||
{{ _("Manage email preferences") }}:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user