diff --git a/static/js/portico/landing-page.js b/static/js/portico/landing-page.js index f79aed4466..2d14fc37b7 100644 --- a/static/js/portico/landing-page.js +++ b/static/js/portico/landing-page.js @@ -127,6 +127,7 @@ var apps_events = function () { var update_page = function () { var $download_instructions = $(".download-instructions"); + var $third_party_apps = $("#third-party-apps"); var version_info = info[version]; $(".info .platform").text(version_info.alt); @@ -140,6 +141,13 @@ var apps_events = function () { } else { $download_instructions.hide(); } + + if (version === "mac" || version === "windows" || version === "linux") { + $third_party_apps.show(); + } else { + $third_party_apps.hide(); + } + }; $(window).on('popstate', function () { diff --git a/static/styles/portico.css b/static/styles/portico.css index d90671861e..a54c4fa878 100644 --- a/static/styles/portico.css +++ b/static/styles/portico.css @@ -2158,3 +2158,8 @@ input.new-organization-button { .portico-page.error .portico-page-container { padding: 0; } + +#third-party-apps { + margin-top: 20px; + padding-right: 10px; +} diff --git a/templates/zerver/apps.html b/templates/zerver/apps.html index 5899be8d09..ec0a18ba8d 100644 --- a/templates/zerver/apps.html +++ b/templates/zerver/apps.html @@ -58,6 +58,12 @@ +
{% endblock %}