diff --git a/static/js/portico/landing-page.js b/static/js/portico/landing-page.js index 4f1d1b47a6..02adf0272f 100644 --- a/static/js/portico/landing-page.js +++ b/static/js/portico/landing-page.js @@ -47,6 +47,7 @@ var apps_events = function () { description: "Zulip for Windows is even better than Zulip on the web, with a cleaner look, tray integration, native notifications, and support for multiple Zulip accounts.", link: ELECTRON_APP_URL_WINDOWS, show_instructions: true, + install_guide: "/help/desktop-app-install-guide#installing-on-windows", }, mac: { image: "/static/images/landing-page/macbook.png", @@ -54,6 +55,7 @@ var apps_events = function () { description: "Zulip on macOS is even better than Zulip on the web, with a cleaner look, tray integration, native notifications, and support for multiple Zulip accounts.", link: ELECTRON_APP_URL_MAC, show_instructions: true, + install_guide: "/help/desktop-app-install-guide#installing-on-macos", }, android: { image: "/static/images/app-screenshots/zulip-android.png", @@ -73,6 +75,7 @@ var apps_events = function () { description: "Zulip on the Linux desktop is even better than Zulip on the web, with a cleaner look, tray integration, native notifications, and support for multiple Zulip accounts.", link: ELECTRON_APP_URL_LINUX, show_instructions: true, + install_guide: "/help/desktop-app-install-guide#installing-on-linux", }, }; @@ -128,7 +131,7 @@ var apps_events = function () { $(".info .description").text(version_info.description); $(".info .link").attr("href", version_info.link); $(".image img").attr("src", version_info.image); - $download_instructions.find("a").attr("href", "/help/desktop-app-install-guide#" + version); + $download_instructions.find("a").attr("href", version_info.install_guide); if (version_info.show_instructions) { $download_instructions.show(); diff --git a/templates/zerver/help/desktop-app-install-guide.md b/templates/zerver/help/desktop-app-install-guide.md index 072f46d416..0d677837e0 100644 --- a/templates/zerver/help/desktop-app-install-guide.md +++ b/templates/zerver/help/desktop-app-install-guide.md @@ -8,6 +8,7 @@ To install the latest stable release (recommended for most users), find your operating system below. If you're interested in an early look at the newest features, consider the [beta releases](#beta-releases). + ## Installing on macOS ### Disk image (recommended) @@ -27,6 +28,7 @@ If you have Homebrew installed and prefer to use it, here's how. 3. The app will update automatically to future versions. (`brew upgrade` will also work, if you prefer.) + ## Installing on Windows ### Installer (recommended) @@ -46,6 +48,7 @@ If you have Homebrew installed and prefer to use it, here's how. 4. The app will NOT update automatically. You can repeat these steps to upgrade to future versions. + ## Installing on Linux ### apt (recommended for Ubuntu or Debian 8+)