From 4d20bce6e4e032f189581592c81f16550802e033 Mon Sep 17 00:00:00 2001 From: sahil839 Date: Wed, 26 May 2021 00:54:12 +0530 Subject: [PATCH] settings: Move message edit settings to "Organization Permissions". The message-editing section of settings is moved from "Organization Settings" to "Organization Permissions", which feels like a more natural place for these settings. --- .../organization_permissions_admin.hbs | 64 +++++++++++++++++++ .../settings/organization_settings_admin.hbs | 64 ------------------- .../zerver/help/community-topic-edits.md | 2 +- .../configure-message-editing-and-deletion.md | 2 +- .../help/disable-message-edit-history.md | 2 +- 5 files changed, 67 insertions(+), 67 deletions(-) diff --git a/static/templates/settings/organization_permissions_admin.hbs b/static/templates/settings/organization_permissions_admin.hbs index 52b09b5e9d..9f702d4700 100644 --- a/static/templates/settings/organization_permissions_admin.hbs +++ b/static/templates/settings/organization_permissions_admin.hbs @@ -125,6 +125,70 @@ +
+
+

{{t "Message editing" }} + {{> ../help_link_widget link="/help/configure-message-editing-and-deletion" }} +

+ {{> settings_save_discard_widget section_name="msg-editing" }} +
+
+
+ + +
+ + +
+
+ + {{> settings_checkbox + setting_name="realm_allow_community_topic_editing" + prefix="id_" + is_checked=realm_allow_community_topic_editing + label=admin_settings_label.realm_allow_community_topic_editing}} + + {{> settings_checkbox + setting_name="realm_allow_edit_history" + prefix="id_" + is_checked=realm_allow_edit_history + label=admin_settings_label.realm_allow_edit_history}} + +
+ + +
+ + +
+
+
+
+

{{t "Other permissions" }}

diff --git a/static/templates/settings/organization_settings_admin.hbs b/static/templates/settings/organization_settings_admin.hbs index b0ae6a6f92..e20259a0ee 100644 --- a/static/templates/settings/organization_settings_admin.hbs +++ b/static/templates/settings/organization_settings_admin.hbs @@ -1,70 +1,6 @@
-
-
-

{{t "Message editing" }} - {{> ../help_link_widget link="/help/configure-message-editing-and-deletion" }} -

- {{> settings_save_discard_widget section_name="msg-editing" }} -
-
-
- - -
- - -
-
- - {{> settings_checkbox - setting_name="realm_allow_community_topic_editing" - prefix="id_" - is_checked=realm_allow_community_topic_editing - label=admin_settings_label.realm_allow_community_topic_editing}} - - {{> settings_checkbox - setting_name="realm_allow_edit_history" - prefix="id_" - is_checked=realm_allow_edit_history - label=admin_settings_label.realm_allow_edit_history}} - -
- - -
- - -
-
-
-
-

{{t "Notifications" }}

diff --git a/templates/zerver/help/community-topic-edits.md b/templates/zerver/help/community-topic-edits.md index 9868c5363d..bddc78f9d2 100644 --- a/templates/zerver/help/community-topic-edits.md +++ b/templates/zerver/help/community-topic-edits.md @@ -17,7 +17,7 @@ for details. {start_tabs} -{settings_tab|organization-settings} +{settings_tab|organization-permissions} 2. Under **Message editing**, uncheck **Users can edit the topic of any message**. diff --git a/templates/zerver/help/configure-message-editing-and-deletion.md b/templates/zerver/help/configure-message-editing-and-deletion.md index 5e8c0eacaa..4617fbccc1 100644 --- a/templates/zerver/help/configure-message-editing-and-deletion.md +++ b/templates/zerver/help/configure-message-editing-and-deletion.md @@ -55,7 +55,7 @@ You can access the message editing and deletion settings as follows. {start_tabs} -{settings_tab|organization-settings} +{settings_tab|organization-permissions} 4. Under **Message editing**, configure **Allow message editing**, **Users can edit the topic of any message**, and **Allow message deleting**. diff --git a/templates/zerver/help/disable-message-edit-history.md b/templates/zerver/help/disable-message-edit-history.md index b9acc87734..11d2e3ab86 100644 --- a/templates/zerver/help/disable-message-edit-history.md +++ b/templates/zerver/help/disable-message-edit-history.md @@ -13,7 +13,7 @@ also disable viewing of message edit history more generally. {start_tabs} -{settings_tab|organization-settings} +{settings_tab|organization-permissions} 2. Under **Message editing**, uncheck **Enable message edit history**.