[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-115.5.0esr-13.0-1] fixup! Bug 42072: 2023 year end campaign for about:tor.



Title: GitLab

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:

Changes:

  • browser/components/abouttor/content/aboutTor.html
    ... ... @@ -36,11 +36,10 @@
    36 36
             alt=""
    
    37 37
             src="">"chrome://browser/content/abouttor/yec-2023-image.svg"
    
    38 38
           />
    
    39
    -      <!-- TODO: Set "amount" to final USD matching amount. -->
    
    40 39
           <p
    
    41 40
             id="yec-2023-matching"
    
    42 41
             data-l10n-id="yec-2023-matched-donation"
    
    43
    -        data-l10n-args='{ "amount": 0 }'
    
    42
    +        data-l10n-args='{ "amount": 75000 }'
    
    44 43
           ></p>
    
    45 44
           <h2 id="yec-2023-heading" data-l10n-id="yec-2023-introduction"></h2>
    
    46 45
           <p id="yec-2023-body" data-l10n-id="yec-2023-please-donate">
    

  • browser/components/abouttor/content/aboutTor.js
    ... ... @@ -204,12 +204,11 @@ const YecWidget = {
    204 204
           this.isOpen = false;
    
    205 205
         });
    
    206 206
     
    
    207
    -    // TODO: Uncomment once we have a final donation matching amount.
    
    208
    -    //const donateMatchStart = Date.UTC(2023, 10, 13); // November 13th
    
    209
    -    //document.body.classList.toggle(
    
    210
    -    //  "yec-2023-is-donation-matching",
    
    211
    -    //  now >= donateMatchStart
    
    212
    -    //);
    
    207
    +    const donateMatchStart = Date.UTC(2023, 10, 22); // November 22nd
    
    208
    +    document.body.classList.toggle(
    
    209
    +      "yec-2023-is-donation-matching",
    
    210
    +      now >= donateMatchStart
    
    211
    +    );
    
    213 212
     
    
    214 213
         this._updateDonateLocale();
    
    215 214
       },
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits