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.

help_docs: Clarify relative link text for Subscribed streams tab.

Lauryn Menardcbfe2707f456
diff --git a/zerver/lib/markdown/help_relative_links.py b/zerver/lib/markdown/help_relative_links.py
index f7055576cac..80dd0fe7305 100644
--- a/zerver/lib/markdown/help_relative_links.py
+++ b/zerver/lib/markdown/help_relative_links.py
@@ -46,7 +46,7 @@ def gear_handle_match(key: str) -> str:
stream_info = {
"all": ["All streams", "/#streams/all"],
- "subscribed": ["Subscribed", "/#streams/subscribed"],
+ "subscribed": ["Subscribed streams", "/#streams/subscribed"],
}
stream_instructions_no_link = """
diff --git a/zerver/tests/test_docs.py b/zerver/tests/test_docs.py
index 6233ffd6589..ca2803a361e 100644
--- a/zerver/tests/test_docs.py
+++ b/zerver/tests/test_docs.py
@@ -304,7 +304,7 @@ class HelpTest(ZulipTestCase):
def test_help_relative_links_for_stream(self) -> None:
result = self.client_get("/help/message-a-stream-by-email")
- self.assertIn('<a href="/#streams/subscribed">Subscribed</a>', str(result.content))
+ self.assertIn('<a href="/#streams/subscribed">Subscribed streams</a>', str(result.content))
self.assertEqual(result.status_code, 200)
with self.settings(ROOT_DOMAIN_LANDING_PAGE=True):