From 62eb1fb166e9cdbf420549326db4937bc99a796d Mon Sep 17 00:00:00 2001 From: Alex Gibson Date: Wed, 5 Jul 2023 10:16:16 +0100 Subject: [PATCH] Direct Win 8.1 / macOs 10.14 users to ESR for FF release channel (Fixes #13317) --- .../firefox/browsers/windows-64-bit.html | 2 +- .../firefox/features/safebrowser.html | 2 +- .../templates/firefox/home/index-master.html | 2 +- .../includes/download-button-thanks.html | 19 +- .../firefox/includes/download-button.html | 41 +--- .../includes/download-unsupported.html | 49 ++++ .../firefox/new/basic/base_download.html | 6 - .../firefox/new/desktop/download.html | 6 - l10n/en/download_button.ftl | 1 + media/css/firefox/browsers-products.scss | 10 + .../firefox/challenge-the-default/_hero.scss | 7 +- .../css/firefox/developer/includes/intro.scss | 4 - media/css/firefox/home/master.scss | 5 + media/css/firefox/new/basic/ie.scss | 7 + .../firefox/new/common/thanks-messaging.scss | 24 ++ media/css/firefox/new/desktop/download.scss | 13 +- media/css/firefox/new/desktop/ie8.scss | 1 + media/css/firefox/new/desktop/ie9.scss | 1 + media/css/firefox/releasenotes.scss | 6 - media/css/mozorg/home/home-eu.scss | 15 +- .../css/mozorg/home/includes/_home-base.scss | 15 +- .../components/_download-button-ie.scss | 28 +-- .../protocol/components/_download-button.scss | 129 ++++++++-- .../components/_fx-unsupported-ie.scss | 73 ++++++ media/js/base/site.js | 129 +++++----- media/js/firefox/new/common/thanks-direct.js | 5 +- media/js/firefox/new/common/thanks-init.js | 5 +- media/js/firefox/new/common/thanks.js | 5 +- tests/unit/spec/base/site.js | 220 +++++++++++++++--- tests/unit/spec/firefox/new/common/thanks.js | 24 +- 30 files changed, 609 insertions(+), 245 deletions(-) create mode 100644 bedrock/firefox/templates/firefox/includes/download-unsupported.html create mode 100644 media/css/protocol/components/_fx-unsupported-ie.scss diff --git a/bedrock/firefox/templates/firefox/browsers/windows-64-bit.html b/bedrock/firefox/templates/firefox/browsers/windows-64-bit.html index d23c696a48b..58fb2109c44 100644 --- a/bedrock/firefox/templates/firefox/browsers/windows-64-bit.html +++ b/bedrock/firefox/templates/firefox/browsers/windows-64-bit.html @@ -25,7 +25,7 @@ {% endblock %} {% block content %} -
+

{{ ftl('windows-64-bit-64-bit') }}

diff --git a/bedrock/firefox/templates/firefox/features/safebrowser.html b/bedrock/firefox/templates/firefox/features/safebrowser.html index 02ff9f41b1e..9ccd0d2c72c 100644 --- a/bedrock/firefox/templates/firefox/features/safebrowser.html +++ b/bedrock/firefox/templates/firefox/features/safebrowser.html @@ -25,7 +25,7 @@ {% endblock %} {% block content %} -
+

Internet Security

diff --git a/bedrock/firefox/templates/firefox/home/index-master.html b/bedrock/firefox/templates/firefox/home/index-master.html index 91a143d23c0..adc50c6817b 100644 --- a/bedrock/firefox/templates/firefox/home/index-master.html +++ b/bedrock/firefox/templates/firefox/home/index-master.html @@ -134,7 +134,7 @@

{{ ftl('firefox-home-get-trackers-off') }}

{{ ftl('firefox-home-download-the-browser') }}