Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

email: Update "Log in" string in digest emails.

opmkumar8c556cafbbd0
diff --git a/templates/zerver/emails/digest.html b/templates/zerver/emails/digest.html
index c974527c24f..2ed4d2dddd7 100644
--- a/templates/zerver/emails/digest.html
+++ b/templates/zerver/emails/digest.html
@@ -28,10 +28,7 @@
<p class="digest_paragraph">{{ new_channels.html|display_list(1000)|safe }}.</p>
{% endif %}
-
- <br />
-
- <p class="digest_paragraph"><a href="{{ realm_url }}">{% trans %}Click here to log in to Zulip and catch up.{% endtrans %}</a></p>
+ <p class="digest_paragraph">{% trans %}<a href="{{ realm_url }}">Log in</a> to Zulip to catch up.{% endtrans %}</p>
{% endblock %}
{% block manage_preferences %}
diff --git a/templates/zerver/emails/digest.txt b/templates/zerver/emails/digest.txt
index 4ffa1c68788..030c81b6ca8 100644
--- a/templates/zerver/emails/digest.txt
+++ b/templates/zerver/emails/digest.txt
@@ -8,8 +8,7 @@
{% if new_channels.plain %}** {% trans %}New channels{% endtrans %} **
{{ new_channels.plain|display_list(1000) }}.
{% endif %}
-
-{% trans organization_url=realm_url %}Click here to log in to Zulip and catch up: {{ organization_url }}.{% endtrans %}
+{% trans organization_url=realm_url %}Log in to Zulip to catch up: {{ organization_url }}.{% endtrans %}
--
{% trans %}Manage email preferences:{% endtrans %}
diff --git a/zerver/tests/test_digest.py b/zerver/tests/test_digest.py
index 507f30db65b..44cb3915cb5 100644
--- a/zerver/tests/test_digest.py
+++ b/zerver/tests/test_digest.py
@@ -555,7 +555,7 @@ class TestDigestContentInBrowser(ZulipTestCase):
def test_get_digest_content_in_browser(self) -> None:
self.login("hamlet")
result = self.client_get("/digest/")
- self.assert_in_success_response(["Click here to log in to Zulip and catch up."], result)
+ self.assert_in_success_response(["Log in to Zulip to catch up"], result)
class TestDigestTopics(ZulipTestCase):