[tbb-commits] [Git][tpo/applications/tor-browser][tor-browser-115.5.0esr-13.0-1] fixup! Bug 42072: 2023 year end campaign for about:tor.
richard (@richard)
git at gitlab.torproject.org
Wed Nov 22 19:27:27 UTC 2023
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/dd283048ac92a210009e24b4179cee09166c6070
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/dd283048ac92a210009e24b4179cee09166c6070
You're receiving this email because of your account on gitlab.torproject.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20231122/4d9dd878/attachment-0001.htm>
More information about the tbb-commits
mailing list