From 75a654b9abef593ed7ca4991ec09c497f9e8a9bd Mon Sep 17 00:00:00 2001 From: David Date: Mon, 28 Aug 2023 18:09:41 -0700 Subject: [PATCH] help: Update links to "Edit a message" and "Delete a message". The series including 0349152f0f490936b250f5b831f0c6cf55aa8b01 split this page into two smaller pages. --- templates/corporate/features.html | 4 ++-- templates/corporate/for/business.html | 2 +- templates/corporate/for/events.html | 2 +- templates/corporate/for/open-source.html | 2 +- templates/corporate/for/research.html | 2 +- web/src/message_edit.js | 2 +- web/templates/settings/organization_permissions_admin.hbs | 2 +- zerver/openapi/zulip.yaml | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/templates/corporate/features.html b/templates/corporate/features.html index 5ce3b32c98..de11955e62 100644 --- a/templates/corporate/features.html +++ b/templates/corporate/features.html @@ -195,10 +195,10 @@

Enjoy the benefits of threaded conversations while controlling your audience and privacy.

- +

MESSAGE EDITING

Don’t worry, you can always fix that typo, either in - the body of message or its topic.

+ the body of a message or its topic.

MOVING MESSAGES

diff --git a/templates/corporate/for/business.html b/templates/corporate/for/business.html index 99257a300f..af700d5072 100644 --- a/templates/corporate/for/business.html +++ b/templates/corporate/for/business.html @@ -333,7 +333,7 @@
  • If you made a mistake, no worries! You - can edit your + can edit your message, or move it to a different topic or stream. diff --git a/templates/corporate/for/events.html b/templates/corporate/for/events.html index 90fdc1d980..a8a81b404e 100644 --- a/templates/corporate/for/events.html +++ b/templates/corporate/for/events.html @@ -203,7 +203,7 @@
  • Type LaTeX directly into your Zulip message, and see it beautifully rendered.
  • Zulip code blocks come with syntax highlighting for over 250 languages, and integrated code playgrounds.
  • Structure your ideas with bulleted and numbered lists.
  • -
  • If you made a mistake, no worries! You can edit your message, or move it to a different topic or stream.
  • +
  • If you made a mistake, no worries! You can edit your message, or move it to a different topic or stream.
  • diff --git a/templates/corporate/for/open-source.html b/templates/corporate/for/open-source.html index 9b3f8afd62..7f74391757 100644 --- a/templates/corporate/for/open-source.html +++ b/templates/corporate/for/open-source.html @@ -360,7 +360,7 @@
  • If you made a mistake, no worries! You - can edit your + can edit your message, or move it to a different topic or stream. diff --git a/templates/corporate/for/research.html b/templates/corporate/for/research.html index 92bf641e5d..80786c9069 100644 --- a/templates/corporate/for/research.html +++ b/templates/corporate/for/research.html @@ -197,7 +197,7 @@
  • If you made a mistake, no worries! You - can edit your + can edit your message, or move it to a different topic or stream. diff --git a/web/src/message_edit.js b/web/src/message_edit.js index 1cd0d7475e..b6c6fc9a4d 100644 --- a/web/src/message_edit.js +++ b/web/src/message_edit.js @@ -1118,7 +1118,7 @@ export function delete_message(msg_id) { confirm_dialog.launch({ html_heading: $t_html({defaultMessage: "Delete message?"}), html_body, - help_link: "/help/edit-or-delete-a-message#delete-a-message", + help_link: "/help/delete-a-message#delete-a-message-completely", on_click: do_delete_message, loading_spinner: true, }); diff --git a/web/templates/settings/organization_permissions_admin.hbs b/web/templates/settings/organization_permissions_admin.hbs index 87de655b90..0183b4cb26 100644 --- a/web/templates/settings/organization_permissions_admin.hbs +++ b/web/templates/settings/organization_permissions_admin.hbs @@ -236,7 +236,7 @@

    {{t "Message deletion" }} - {{> ../help_link_widget link="/help/edit-or-delete-a-message#delete-a-message" }} + {{> ../help_link_widget link="/help/delete-a-message" }}

    {{> settings_save_discard_widget section_name="msg-deletion" }}
    diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml index 702049c5bf..9afa5e1626 100644 --- a/zerver/openapi/zulip.yaml +++ b/zerver/openapi/zulip.yaml @@ -7368,7 +7368,7 @@ paths: [delete a message completely][delete-completely] feature documented in the Zulip Help Center. - [delete-completely]: /help/edit-or-delete-a-message#delete-a-message-completely + [delete-completely]: /help/delete-a-message#delete-a-message-completely x-requires-administrator: true parameters: - $ref: "#/components/parameters/MessageId"