[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-115.4.0esr-13.5-1] fixup! Bug 42072: 2023 year end campaign for about:tor.
Pier Angelo Vendrame (@pierov)
git at gitlab.torproject.org
Thu Nov 16 17:22:24 UTC 2023
Pier Angelo Vendrame pushed to branch tor-browser-115.4.0esr-13.5-1 at The Tor Project / Applications / Tor Browser
Commits:
ff9552f7 by Dan Ballard at 2023-11-15T17:19:03-08: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/ff9552f7fd790a8a12bfeb8a414c321bb22ab491
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/ff9552f7fd790a8a12bfeb8a414c321bb22ab491
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/tor-commits/attachments/20231116/c8474a0a/attachment-0001.htm>
More information about the tor-commits
mailing list