From 8d1db6482fc0e2f1738a092d0ff8f822a6ab671e Mon Sep 17 00:00:00 2001 From: David Rosa Date: Wed, 25 Jan 2023 22:44:17 -0700 Subject: [PATCH] help center: Update relative gear menu macro for organization settings. Renames "Manage organization" to "Organization settings" to reflect changes in the previous commit. --- ...view-organization-settings-instructions.md | 2 +- help/review-your-organization-settings.md | 2 +- zerver/lib/markdown/help_relative_links.py | 2 +- zerver/lib/markdown/help_settings_links.py | 36 ++++++++++--------- 4 files changed, 23 insertions(+), 19 deletions(-) diff --git a/help/include/review-organization-settings-instructions.md b/help/include/review-organization-settings-instructions.md index e2c360ceba..50b7236871 100644 --- a/help/include/review-organization-settings-instructions.md +++ b/help/include/review-organization-settings-instructions.md @@ -3,7 +3,7 @@ want it to be. {start_tabs} -{relative|gear|manage-organization} +{relative|gear|organization-settings} 1. Click on the **Organization settings** and **Organization permissions** tabs, as well as any others that are of interest. diff --git a/help/review-your-organization-settings.md b/help/review-your-organization-settings.md index b314ef85be..22bbdfeded 100644 --- a/help/review-your-organization-settings.md +++ b/help/review-your-organization-settings.md @@ -12,7 +12,7 @@ generally only organization administrators can interact with them. {start_tabs} -{relative|gear|manage-organization} +{relative|gear|organization-settings} 1. Click on each tab on the left. diff --git a/zerver/lib/markdown/help_relative_links.py b/zerver/lib/markdown/help_relative_links.py index bf43651cd6..1a15f6b7f8 100644 --- a/zerver/lib/markdown/help_relative_links.py +++ b/zerver/lib/markdown/help_relative_links.py @@ -20,7 +20,7 @@ gear_info = { # link is used for relative links: `Select [name](link).` "manage-streams": ["Manage streams", "/#streams/subscribed"], "settings": ["Personal Settings", "/#settings/profile"], - "manage-organization": ["Manage organization", "/#organization/organization-profile"], + "organization-settings": ["Organization settings", "/#organization/organization-profile"], "integrations": ["Integrations", "/integrations"], "stats": ["Usage statistics", "/stats"], "plans": ["Plans and pricing", "/plans"], diff --git a/zerver/lib/markdown/help_settings_links.py b/zerver/lib/markdown/help_settings_links.py index 679ec9d045..3142171270 100644 --- a/zerver/lib/markdown/help_settings_links.py +++ b/zerver/lib/markdown/help_settings_links.py @@ -32,70 +32,74 @@ link_mapping = { "muted-topics": ["Personal settings", "Muted topics", "/#settings/muted-topics"], "muted-users": ["Personal settings", "Muted users", "/#settings/muted-users"], "organization-profile": [ - "Manage organization", + "Organization settings", "Organization profile", "/#organization/organization-profile", ], "organization-settings": [ - "Manage organization", + "Organization settings", "Organization settings", "/#organization/organization-settings", ], "organization-permissions": [ - "Manage organization", + "Organization settings", "Organization permissions", "/#organization/organization-permissions", ], "default-user-settings": [ - "Manage organization", + "Organization settings", "Default user settings", "/#organization/organization-level-user-defaults", ], - "emoji-settings": ["Manage organization", "Custom emoji", "/#organization/emoji-settings"], + "emoji-settings": ["Organization settings", "Custom emoji", "/#organization/emoji-settings"], "auth-methods": [ - "Manage organization", + "Organization settings", "Authentication methods", "/#organization/auth-methods", ], - "user-groups-admin": ["Manage organization", "User groups", "/#organization/user-groups-admin"], - "user-list-admin": ["Manage organization", "Users", "/#organization/user-list-admin"], + "user-groups-admin": [ + "Organization settings", + "User groups", + "/#organization/user-groups-admin", + ], + "user-list-admin": ["Organization settings", "Users", "/#organization/user-list-admin"], "deactivated-users-admin": [ - "Manage organization", + "Organization settings", "Deactivated users", "/#organization/deactivated-users-admin", ], "bot-list-admin": [ - "Manage organization", + "Organization settings", "your organization's Bots", "/#organization/bot-list-admin", ], "default-streams-list": [ - "Manage organization", + "Organization settings", "Default streams", "/#organization/default-streams-list", ], "linkifier-settings": [ - "Manage organization", + "Organization settings", "Linkifiers", "/#organization/linkifier-settings", ], "playground-settings": [ - "Manage organization", + "Organization settings", "Code playgrounds", "/#organization/playground-settings", ], "profile-field-settings": [ - "Manage organization", + "Organization settings", "Custom profile fields", "/#organization/profile-field-settings", ], "invites-list-admin": [ - "Manage organization", + "Organization settings", "Invitations", "/#organization/invites-list-admin", ], "data-exports-admin": [ - "Manage organization", + "Organization settings", "Data exports", "/#organization/data-exports-admin", ],