mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 23:13:25 +00:00
emails: Show realm_str inside bracket in subject.
This commit is contained in:
@@ -6,5 +6,5 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
New missed messages
|
New missed messages
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if realm_name_in_notifications %} in {{ realm_str }}
|
{% if realm_name_in_notifications %} [{{ realm_str }}]
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -21,4 +21,4 @@ LATEST_RELEASE_ANNOUNCEMENT = "https://blog.zulip.org/2019/03/01/zulip-2-0-relea
|
|||||||
# Typically, adding a dependency only requires a minor version bump, and
|
# Typically, adding a dependency only requires a minor version bump, and
|
||||||
# removing a dependency requires a major version bump.
|
# removing a dependency requires a major version bump.
|
||||||
|
|
||||||
PROVISION_VERSION = '37.2'
|
PROVISION_VERSION = '37.3'
|
||||||
|
|||||||
@@ -221,7 +221,7 @@ class TestMissedMessages(ZulipTestCase):
|
|||||||
email_subject = 'PMs with Othello, the Moor of Venice'
|
email_subject = 'PMs with Othello, the Moor of Venice'
|
||||||
|
|
||||||
if realm_name_in_notifications:
|
if realm_name_in_notifications:
|
||||||
email_subject = 'PMs with Othello, the Moor of Venice in Zulip Dev'
|
email_subject = 'PMs with Othello, the Moor of Venice [Zulip Dev]'
|
||||||
self._test_cases(tokens, msg_id, body, email_subject, False)
|
self._test_cases(tokens, msg_id, body, email_subject, False)
|
||||||
|
|
||||||
@patch('zerver.lib.email_mirror.generate_random_token')
|
@patch('zerver.lib.email_mirror.generate_random_token')
|
||||||
|
|||||||
Reference in New Issue
Block a user