website/conservancy
Bradley M. Kuhn cf5bd77c56 Support two fundraising bars for a stretch match
Long ago, when the bar was all Javascript, we had the ability to have
sub-targets in a single bar.  I was not able to invest the time
necessary to figure out how to do that again using the newer setup
for the fundraising bar, so instead I've added the ability to have a
stretch match bar that appears above the other one once the first
match period ends.

While it handles most of the weird cases with some grace, it will
probably look weird unless you set up a `SITE_FUNDGOAL_0` as a match
that finishes at least a week or two before `SITE_FUNDGOAL_1`.

The two aren't really aware of each other, either, so you have to
make sure the objects are updated properly (i.e., it *will* display
the stretch when `SITE_FUNDGOAL_0` ends even if there are match funds
remaining in `SITE_FUNDGOAL_0`).

A better solution should be found and implemented before 2026-11-22.
If you're actually reading this commit message for a reason other
than historical interest and that date has past, you're probably in
big trouble right now. 😬
2026-01-14 14:16:44 -08:00
..
assignment Rename Font Awesome file to clarify it's a subset of the icon set 2025-07-23 13:40:54 +10:00
blog Fix trailing whitespace and missing end-of-file newline 2024-07-22 18:39:05 +10:00
contacts contacts: Allow unsubscribes to be actioned from list view 2024-12-18 10:05:34 +11:00
content upcase Fediverse 2026-01-08 11:14:04 -08:00
contractpatch Switch from url() to path() 2024-03-18 17:51:33 +11:00
events Fix trailing whitespace and missing end-of-file newline 2024-07-22 18:39:05 +10:00
fossy Rename Font Awesome file to clarify it's a subset of the icon set 2025-07-23 13:40:54 +10:00
fundgoal Support two fundraising bars for a stretch match 2026-01-14 14:16:44 -08:00
news Kuhn ⇒ Kühn — I have changed spelling of my surname. 2025-11-07 08:39:51 -08:00
podjango Kuhn ⇒ Kühn — I have changed spelling of my surname. 2025-11-07 08:39:51 -08:00
settings Support two fundraising bars for a stretch match 2026-01-14 14:16:44 -08:00
staff Fix trailing whitespace and missing end-of-file newline 2024-07-22 18:39:05 +10:00
static Support two fundraising bars for a stretch match 2026-01-14 14:16:44 -08:00
supporters fix bbb signup info 2026-01-12 15:15:00 -08:00
templates fix bbb signup info 2026-01-12 15:05:42 -08:00
usethesource usethesource: Add link to offer upload 2024-07-30 13:03:48 +10:00
worldmap Fix trailing whitespace and missing end-of-file newline 2024-07-22 18:39:05 +10:00
__init__.py Fix strange issue with ParameterValidator settings 2024-03-20 14:32:44 +11:00
bsoup.py Rename "www" directory to "conservancy" 2023-10-25 13:01:21 +11:00
context_processors.py Support two fundraising bars for a stretch match 2026-01-14 14:16:44 -08:00
feeds.py Fix trailing whitespace and missing end-of-file newline 2024-07-22 18:39:05 +10:00
tests.py Activate CY2025 end of year match drive. 2025-11-25 16:17:34 -08:00
urls.py Kuhn ⇒ Kühn — I have changed spelling of my surname. 2025-11-07 08:39:51 -08:00
views.py Handle excessively long paths 2024-06-06 18:07:05 +10:00
wsgi.py Specify the production settings in wsgi.py 2024-03-20 14:15:20 +11:00