Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
apps: Link android download button directly to APK file.
Vishnu KS358b4f64387c
diff --git a/static/js/portico/landing-page.js b/static/js/portico/landing-page.jsindex 977c4c1ffd9..10dada3e22f 100644--- a/static/js/portico/landing-page.js+++ b/static/js/portico/landing-page.js@@ -48,7 +48,9 @@ const apps_events = function () {alt: "Android",description: "Zulip's native Android app makes it easy to keep up while on the go.",show_instructions: false,- link: "https://play.google.com/store/apps/details?id=com.zulipmobile",+ play_store_link: "https://play.google.com/store/apps/details?id=com.zulipmobile",+ download_link:+ "https://github.com/zulip/zulip-mobile/releases/latest/download/app-release.apk",app_type: "mobile",},ios: {@@ -56,7 +58,7 @@ const apps_events = function () {alt: "iOS",description: "Zulip's native iOS app makes it easy to keep up while on the go.",show_instructions: false,- link: "https://itunes.apple.com/us/app/zulip/id1203036395",+ app_store_link: "https://itunes.apple.com/us/app/zulip/id1203036395",app_type: "mobile",},linux: {@@ -108,8 +110,9 @@ const apps_events = function () {$(".info .platform").text(version_info.alt);$(".info .description").text(version_info.description);$(".info .desktop-download-link").attr("href", version_info.download_link);- $(".download-from-google-play-store").attr("href", version_info.link);- $(".download-from-apple-app-store").attr("href", version_info.link);+ $(".download-from-google-play-store").attr("href", version_info.play_store_link);+ $(".download-from-apple-app-store").attr("href", version_info.app_store_link);+ $("#download-android-apk a").attr("href", version_info.download_link);$(".image img").attr("src", version_info.image);$download_instructions.find("a").attr("href", version_info.install_guide);