From 26b51d939320fc593ab23843a73bde84a7037f31 Mon Sep 17 00:00:00 2001 From: David Rosa Date: Fri, 8 Jul 2022 08:44:50 -0400 Subject: [PATCH] help-docs: Replace mobile profile menu instructions with macro. Adds a macro with instructions for accessing the profile menu for reusability in "Logging out" and "Switching between organizations". Reorders tabs Web > Desktop > Mobile for consistency. --- templates/zerver/help/logging-in.md | 15 +++++++-------- .../help/switching-between-organizations.md | 14 +++++++------- 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/templates/zerver/help/logging-in.md b/templates/zerver/help/logging-in.md index 658fff0730..653ced7d3b 100644 --- a/templates/zerver/help/logging-in.md +++ b/templates/zerver/help/logging-in.md @@ -13,11 +13,16 @@ how you signed up. E.g. if you originally signed up using your Google account, you can later log in using GitHub, as long as your Google account and GitHub account use the same email address. - ### Log in to a Zulip organization for the first time {start_tabs} +{tab|web} + +1. Go to your organization's **Zulip URL**. + +1. Follow the on-screen instructions. + {tab|desktop} 1. Open the **left sidebar** (`Ctrl` + `Shift` + `s`). @@ -33,7 +38,7 @@ and GitHub account use the same email address. {tab|mobile} -1. From the home screen, tap your **profile picture** in the lower right. +{!mobile-profile-menu.md!} 1. Tap **Switch account**. @@ -43,12 +48,6 @@ and GitHub account use the same email address. 1. Follow the on-screen instructions. -{tab|web} - -1. Go to your organization's **Zulip URL**. - -1. Follow the on-screen instructions. - {end_tabs} For subsequent logins, see [switching between organizations](/help/switching-between-organizations). diff --git a/templates/zerver/help/switching-between-organizations.md b/templates/zerver/help/switching-between-organizations.md index 8f60a80250..3c0f8d8464 100644 --- a/templates/zerver/help/switching-between-organizations.md +++ b/templates/zerver/help/switching-between-organizations.md @@ -4,6 +4,12 @@ This article assumes you've [logged in](/help/logging-in) to each organization a {start_tabs} +{tab|web} + +You can log in to multiple Zulip organizations by opening multiple tabs, and +logging into one Zulip organization in each tab. To switch Zulip organizations, +just switch tabs. + {tab|desktop} 1. Open the **left sidebar** (`Ctrl` + `Shift` + `s`). @@ -18,16 +24,10 @@ This article assumes you've [logged in](/help/logging-in) to each organization a {tab|mobile} -1. From the home screen, tap your **profile picture** in the lower right. +{!mobile-profile-menu.md!} 1. Tap **Switch account**. 1. Tap on the desired Zulip organization. -{tab|web} - -You can log in to multiple Zulip organizations by opening multiple tabs, and -logging into one Zulip organization in each tab. To switch Zulip organizations, -just switch tabs. - {end_tabs}