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.

docs: Fix help links for pm -> dm rename, to save a redirect.

Alex Vandiverc217280c23b0
diff --git a/templates/corporate/features.html b/templates/corporate/features.html
index de11955e62f..186a331d59c 100644
--- a/templates/corporate/features.html
+++ b/templates/corporate/features.html
@@ -181,7 +181,7 @@
<p>Zulip has a powerful set of analytics available to
help you see how your organization communicates.</p>
</a>
- <a class="feature-block" href="/help/private-messages" target="_blank" rel="noopener noreferrer">
+ <a class="feature-block" href="/help/direct-messages" target="_blank" rel="noopener noreferrer">
<h3>ONE-ON-ONE AND GROUP PRIVATE CONVERSATIONS</h3>
<p>Lightweight private conversations with one or as many people as you need.</p>
</a>
diff --git a/templates/corporate/for/business.html b/templates/corporate/for/business.html
index 4c1979b505f..946cc6cafac 100644
--- a/templates/corporate/for/business.html
+++ b/templates/corporate/for/business.html
@@ -525,7 +525,7 @@
<div class="list-content">
Mention <a href="/help/mention-a-user-or-group">users</a>, <a href="/help/user-groups">groups
of users</a>
- or <a href="/help/pm-mention-alert-notifications#wildcard-mentions">everyone</a>
+ or <a href="/help/dm-mention-alert-notifications#wildcard-mentions">everyone</a>
when you need their attention.
</div>
</li>
diff --git a/templates/corporate/for/education.html b/templates/corporate/for/education.html
index f199fbc6c0e..705589f8bbd 100644
--- a/templates/corporate/for/education.html
+++ b/templates/corporate/for/education.html
@@ -231,7 +231,7 @@
</div>
</li>
<li>
- <div class="list-content">Mention <a href="/help/mention-a-user-or-group">users</a>, <a href="/help/user-groups">groups of users</a> or <a href="/help/pm-mention-alert-notifications#wildcard-mentions">everyone</a> when you need their attention.</div>
+ <div class="list-content">Mention <a href="/help/mention-a-user-or-group">users</a>, <a href="/help/user-groups">groups of users</a> or <a href="/help/dm-mention-alert-notifications#wildcard-mentions">everyone</a> when you need their attention.</div>
</li>
<li>
<div class="list-content">Use Zulip in your language of choice, with translations into <a href="https://explore.transifex.com/zulip/zulip/">23 languages</a>.</div>
diff --git a/templates/corporate/for/events.html b/templates/corporate/for/events.html
index 83ac2bff5f0..05e1babecbe 100644
--- a/templates/corporate/for/events.html
+++ b/templates/corporate/for/events.html
@@ -260,7 +260,7 @@
</div>
</li>
<li><div class="list-content">Zulip alerts participants about timely messages with <a href="/help/stream-notifications">fully customizable</a> mobile, email and desktop notifications.</div></li>
- <li><div class="list-content">Mention <a href="/help/mention-a-user-or-group">users</a>, <a href="/help/user-groups">groups of users</a> or <a href="/help/pm-mention-alert-notifications#wildcard-mentions">everyone</a> when you need their attention.</div></li>
+ <li><div class="list-content">Mention <a href="/help/mention-a-user-or-group">users</a>, <a href="/help/user-groups">groups of users</a> or <a href="/help/dm-mention-alert-notifications#wildcard-mentions">everyone</a> when you need their attention.</div></li>
<li>
<div class="list-content">
Zulip works reliably for organizations
diff --git a/templates/corporate/for/open-source.html b/templates/corporate/for/open-source.html
index f2290f85231..5ddbdbde4c0 100644
--- a/templates/corporate/for/open-source.html
+++ b/templates/corporate/for/open-source.html
@@ -603,7 +603,7 @@
<div class="list-content">
Mention <a href="/help/mention-a-user-or-group">users</a>, <a href="/help/user-groups">groups
of users</a>
- or <a href="/help/pm-mention-alert-notifications#wildcard-mentions">everyone</a>
+ or <a href="/help/dm-mention-alert-notifications#wildcard-mentions">everyone</a>
when you need their attention.
</div>
</li>
diff --git a/templates/corporate/for/research.html b/templates/corporate/for/research.html
index 247f91a5cbc..e24aa0a50fd 100644
--- a/templates/corporate/for/research.html
+++ b/templates/corporate/for/research.html
@@ -353,7 +353,7 @@
<div class="list-content">
Mention <a href="/help/mention-a-user-or-group">users</a>, <a href="/help/user-groups">groups
of users</a>
- or <a href="/help/pm-mention-alert-notifications#wildcard-mentions">everyone</a>
+ or <a href="/help/dm-mention-alert-notifications#wildcard-mentions">everyone</a>
when you need their attention.
</div>
</li>
diff --git a/templates/zerver/emails/missed_message.html b/templates/zerver/emails/missed_message.html
index 7eaa6f0605c..163c614497e 100644
--- a/templates/zerver/emails/missed_message.html
+++ b/templates/zerver/emails/missed_message.html
@@ -16,7 +16,7 @@
{% if message_content_disabled_by_realm %}
{% trans help_url=realm_uri + "/help/hide-message-content-in-emails" %}This email does not include message content because your organization has disabled <a class="content_disabled_help_link" href="{{ help_url }}">message content appearing in email notifications</a>.{% endtrans %}
{% elif message_content_disabled_by_user %}
- {% trans alert_notif_url=realm_uri + "/help/pm-mention-alert-notifications" %}This email does not include message content because you have disabled <a class="content_disabled_help_link" href="{{ alert_notif_url }}">message content appearing in email notifications</a>.{% endtrans %}
+ {% trans alert_notif_url=realm_uri + "/help/dm-mention-alert-notifications" %}This email does not include message content because you have disabled <a class="content_disabled_help_link" href="{{ alert_notif_url }}">message content appearing in email notifications</a>.{% endtrans %}
{% endif %}
</div>
{% endif %}
diff --git a/templates/zerver/emails/missed_message.txt b/templates/zerver/emails/missed_message.txt
index da4cd74f949..f0dcb790433 100644
--- a/templates/zerver/emails/missed_message.txt
+++ b/templates/zerver/emails/missed_message.txt
@@ -13,7 +13,7 @@ This email does not include message content because your organization has disabl
See {{ hide_content_url }} for more details.
{% endtrans %}
{% elif message_content_disabled_by_user %}
-{% trans alert_notif_url=realm_uri + "/help/pm-mention-alert-notifications" %}
+{% trans alert_notif_url=realm_uri + "/help/dm-mention-alert-notifications" %}
This email does not include message content because you have disabled message content appearing in email notifications.
See {{ alert_notif_url }} for more details.
{% endtrans %}
diff --git a/zerver/tests/test_message_notification_emails.py b/zerver/tests/test_message_notification_emails.py
index 35557c1c6fd..5094c2408dd 100644
--- a/zerver/tests/test_message_notification_emails.py
+++ b/zerver/tests/test_message_notification_emails.py
@@ -190,7 +190,7 @@ class TestMessageNotificationEmails(ZulipTestCase):
# Test in case if message content in missed email message are disabled.
verify_body_include = [
"This email does not include message content because you have disabled message ",
- "http://zulip.testserver/help/pm-mention-alert-notifications ",
+ "http://zulip.testserver/help/dm-mention-alert-notifications ",
"View or reply in Zulip Dev Zulip",
" Manage email preferences: http://zulip.testserver/#settings/notifications",
]
@@ -250,7 +250,7 @@ class TestMessageNotificationEmails(ZulipTestCase):
# Test in case if message content in missed email message are disabled.
verify_body_include = [
"This email does not include message content because you have disabled message ",
- "http://zulip.testserver/help/pm-mention-alert-notifications ",
+ "http://zulip.testserver/help/dm-mention-alert-notifications ",
"View or reply in Zulip Dev Zulip",
" Manage email preferences: http://zulip.testserver/#settings/notifications",
]
@@ -290,7 +290,7 @@ class TestMessageNotificationEmails(ZulipTestCase):
# Test in case if message content in missed email message are disabled.
verify_body_include = [
"This email does not include message content because you have disabled message ",
- "http://zulip.testserver/help/pm-mention-alert-notifications ",
+ "http://zulip.testserver/help/dm-mention-alert-notifications ",
"View or reply in Zulip Dev Zulip",
" Manage email preferences: http://zulip.testserver/#settings/notifications",
]
@@ -349,7 +349,7 @@ class TestMessageNotificationEmails(ZulipTestCase):
# Test in case if message content in missed email message are disabled.
verify_body_include = [
"This email does not include message content because you have disabled message ",
- "http://zulip.testserver/help/pm-mention-alert-notifications ",
+ "http://zulip.testserver/help/dm-mention-alert-notifications ",
"View or reply in Zulip Dev Zulip",
" Manage email preferences: http://zulip.testserver/#settings/notifications",
]
@@ -389,7 +389,7 @@ class TestMessageNotificationEmails(ZulipTestCase):
# Test in case if message content in missed email message are disabled.
verify_body_include = [
"This email does not include message content because you have disabled message ",
- "http://zulip.testserver/help/pm-mention-alert-notifications ",
+ "http://zulip.testserver/help/dm-mention-alert-notifications ",
"View or reply in Zulip Dev Zulip",
" Manage email preferences: http://zulip.testserver/#settings/notifications",
]
@@ -504,7 +504,7 @@ class TestMessageNotificationEmails(ZulipTestCase):
elif message_content_disabled_by_user:
verify_body_include = [
"This email does not include message content because you have disabled message ",
- "http://zulip.testserver/help/pm-mention-alert-notifications ",
+ "http://zulip.testserver/help/dm-mention-alert-notifications ",
"View or reply in Zulip Dev Zulip",
" Manage email preferences: http://zulip.testserver/#settings/notifications",
]
@@ -565,7 +565,7 @@ class TestMessageNotificationEmails(ZulipTestCase):
else:
verify_body_include = [
"This email does not include message content because you have disabled message ",
- "http://zulip.testserver/help/pm-mention-alert-notifications ",
+ "http://zulip.testserver/help/dm-mention-alert-notifications ",
"View or reply in Zulip Dev Zulip",
" Manage email preferences: http://zulip.testserver/#settings/notifications",
]