help_docs: Clarify relative link text for Subscribed streams tab.

This commit is contained in:
Lauryn Menard
2022-03-28 17:54:29 +02:00
committed by Tim Abbott
parent 1b55ff79c9
commit cbfe2707f4
2 changed files with 2 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ def gear_handle_match(key: str) -> str:
stream_info = { stream_info = {
"all": ["All streams", "/#streams/all"], "all": ["All streams", "/#streams/all"],
"subscribed": ["Subscribed", "/#streams/subscribed"], "subscribed": ["Subscribed streams", "/#streams/subscribed"],
} }
stream_instructions_no_link = """ stream_instructions_no_link = """

View File

@@ -304,7 +304,7 @@ class HelpTest(ZulipTestCase):
def test_help_relative_links_for_stream(self) -> None: def test_help_relative_links_for_stream(self) -> None:
result = self.client_get("/help/message-a-stream-by-email") 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) self.assertEqual(result.status_code, 200)
with self.settings(ROOT_DOMAIN_LANDING_PAGE=True): with self.settings(ROOT_DOMAIN_LANDING_PAGE=True):