richard pushed to branch tor-browser-115.5.0esr-13.0-1 at The Tor Project / Applications / Tor Browser
Commits: dd283048 by Dan Ballard at 2023-11-22T19:17:27+00:00 fixup! Bug 42072: 2023 year end campaign for about:tor.
Set donation matching amount and date.
- - - - -
2 changed files:
- browser/components/abouttor/content/aboutTor.html - browser/components/abouttor/content/aboutTor.js
Changes:
===================================== browser/components/abouttor/content/aboutTor.html ===================================== @@ -36,11 +36,10 @@ alt="" src="chrome://browser/content/abouttor/yec-2023-image.svg" /> - <!-- TODO: Set "amount" to final USD matching amount. --> <p id="yec-2023-matching" data-l10n-id="yec-2023-matched-donation" - data-l10n-args='{ "amount": 0 }' + data-l10n-args='{ "amount": 75000 }' ></p> <h2 id="yec-2023-heading" data-l10n-id="yec-2023-introduction"></h2> <p id="yec-2023-body" data-l10n-id="yec-2023-please-donate">
===================================== browser/components/abouttor/content/aboutTor.js ===================================== @@ -204,12 +204,11 @@ const YecWidget = { this.isOpen = false; });
- // TODO: Uncomment once we have a final donation matching amount. - //const donateMatchStart = Date.UTC(2023, 10, 13); // November 13th - //document.body.classList.toggle( - // "yec-2023-is-donation-matching", - // now >= donateMatchStart - //); + const donateMatchStart = Date.UTC(2023, 10, 22); // November 22nd + document.body.classList.toggle( + "yec-2023-is-donation-matching", + now >= donateMatchStart + );
this._updateDonateLocale(); },
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/dd283048...
tbb-commits@lists.torproject.org