From 106c30f3eb7688b71ad23d6f3a53725818c31c27 Mon Sep 17 00:00:00 2001 From: Stephanie Hobson Date: Wed, 19 Jul 2023 19:38:49 -0700 Subject: [PATCH] Add Adjust support to product_download --- .../banners/mobile/firefox-app-store.html | 4 +- .../banners/mobile/focus-app-store.html | 4 +- .../firefox/browsers/chromebook.html | 2 +- .../compare/includes/download-menu-list.html | 4 +- .../templates/firefox/browsers/index.html | 4 +- .../firefox/browsers/mobile/index.html | 12 +- .../templates/firefox/enterprise/index.html | 20 +- .../templates/firefox/home/index-master.html | 8 +- .../includes/download-unsupported.html | 6 +- .../templates/firefox/products/index.html | 8 +- .../datalayer-productdownload-init.es6.js | 20 ++ .../js/base/datalayer-productdownload.es6.js | 109 +++++++-- .../all/all-downloads-unified-init.es6.js | 13 -- media/static-bundles.json | 3 +- .../spec/base/datalayer-productdownload.js | 213 +++++++++++++----- 15 files changed, 310 insertions(+), 120 deletions(-) create mode 100644 media/js/base/datalayer-productdownload-init.es6.js diff --git a/bedrock/base/templates/includes/banners/mobile/firefox-app-store.html b/bedrock/base/templates/includes/banners/mobile/firefox-app-store.html index 39a7abd1ba3..f7757123872 100644 --- a/bedrock/base/templates/includes/banners/mobile/firefox-app-store.html +++ b/bedrock/base/templates/includes/banners/mobile/firefox-app-store.html @@ -21,8 +21,8 @@

{{ ftl('banner-firefox-app-store-title') }}

{{ ftl('banner-firefox-app-store-free-google-play') }}

{{ ftl('banner-firefox-app-store-free-app-store') }}

- {{ ftl('ui-view') }} - {{ ftl('ui-view') }} + {{ ftl('ui-view') }} + {{ ftl('ui-view') }} diff --git a/bedrock/base/templates/includes/banners/mobile/focus-app-store.html b/bedrock/base/templates/includes/banners/mobile/focus-app-store.html index 3dc3fa9ffd6..26516386f47 100644 --- a/bedrock/base/templates/includes/banners/mobile/focus-app-store.html +++ b/bedrock/base/templates/includes/banners/mobile/focus-app-store.html @@ -21,8 +21,8 @@

{{ ftl('banner-firefox-focus-app-store-title') }}

{{ ftl('banner-firefox-app-store-free-google-play') }}

{{ ftl('banner-firefox-app-store-free-app-store') }}

- {{ ftl('ui-view') }} - {{ ftl('ui-view') }} + {{ ftl('ui-view') }} + {{ ftl('ui-view') }} diff --git a/bedrock/firefox/templates/firefox/browsers/chromebook.html b/bedrock/firefox/templates/firefox/browsers/chromebook.html index 9158af04dcb..c4629ec4b13 100644 --- a/bedrock/firefox/templates/firefox/browsers/chromebook.html +++ b/bedrock/firefox/templates/firefox/browsers/chromebook.html @@ -43,7 +43,7 @@

{{ ftl('browsers-chromebook-get-firefox-browser') }}<

{{ ftl('browsers-chromebook-dropdown-copy') }}

diff --git a/bedrock/firefox/templates/firefox/browsers/index.html b/bedrock/firefox/templates/firefox/browsers/index.html index 3de28b9a68e..c7f584095ae 100644 --- a/bedrock/firefox/templates/firefox/browsers/index.html +++ b/bedrock/firefox/templates/firefox/browsers/index.html @@ -130,8 +130,8 @@

{{ ftl('firefox-browsers-download-for-mobile') }}

diff --git a/bedrock/firefox/templates/firefox/browsers/mobile/index.html b/bedrock/firefox/templates/firefox/browsers/mobile/index.html index 74586b6c376..6a316d9ac6b 100644 --- a/bedrock/firefox/templates/firefox/browsers/mobile/index.html +++ b/bedrock/firefox/templates/firefox/browsers/mobile/index.html @@ -77,10 +77,10 @@

- {{ ftl('browsers-mobile-download') }} + {{ ftl('browsers-mobile-download') }}

-

{{ ftl('ui-learn-more') }}

+

{{ ftl('ui-learn-more') }}

diff --git a/bedrock/firefox/templates/firefox/enterprise/index.html b/bedrock/firefox/templates/firefox/enterprise/index.html index e95f22a54e7..71e83d88f37 100644 --- a/bedrock/firefox/templates/firefox/enterprise/index.html +++ b/bedrock/firefox/templates/firefox/enterprise/index.html @@ -139,22 +139,22 @@

{{ ftl('firefox-enterprise-windows-64-bit'

{{ ftl('firefox-enterprise-select-your-download') }}