Skip to content
Snippets Groups Projects
Verified Commit 70c2c6f0 authored by Dan Ballard's avatar Dan Ballard Committed by Pier Angelo Vendrame
Browse files

fixup! Bug 42072: 2023 year end campaign for about:tor.

Set donation matching amount and date.
parent d4164335
Branches
Tags
1 merge request!849Bug 42276: Rebase alpha onto 115.5.0esr
......@@ -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">
......
......
......@@ -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();
},
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment