Commit graph

23 commits

Author SHA1 Message Date
12f618af3b Close <em> tag 2026-01-14 13:40:05 -08:00
42887bfb0b There was still a missing {% endif %} 😩 2026-01-14 13:33:22 -08:00
ce2bbbba7b Rework if-then-else mess; format div's 2026-01-14 13:30:08 -08:00
76ef5019af fix endifs and change formatting
formatting removes additional raised on original bar
also increase size of larger portion of match
2026-01-14 11:49:59 -08:00
8719403b81 Still not right, boy an django template mode for Emacs would help
{# LEFT OFF HERE #} shows where I left off.
2026-01-14 11:24:18 -08:00
4b0172080f logic 2026-01-14 10:48:25 -08:00
f33fc80520 Minor changes to logic 2026-01-14 10:42:37 -08:00
2b26d1efb2 endif wrong? 2026-01-14 10:34:03 -08:00
c3aff1e73a Not sure my endif count is right, so this my 500 2026-01-14 10:32:31 -08:00
06dfa1a619 Now, make a duplicate of sitefundgoal0 text for sitefundgoal1. 2026-01-14 10:09:21 -08:00
a17c08f00c Step 2, switch to using 'sitefundgoal0' 2026-01-14 10:04:42 -08:00
8b470b7b02 fix doubled match goal 2025-12-30 09:43:04 -05:00
ad9c95cb10 update 2025 match goal by 40,012 2025-12-29 15:38:59 -05:00
c1d0d6f9ca fix match goal double 2025-11-26 09:45:49 -08:00
c427712f14 Fundrasier — link to wrap up blog post, mention how much is raised
At this point, this entire file is going to require that we make sure
it's updated before the fundraiser.
2025-01-17 07:36:35 -08:00
d54412ccf3 Fundraiser — Keep fundraising banner until after FOSDEM
This was based on the dates for FOSDEM 2025, so likely this will need
to be adjusted next year.
2025-01-17 07:35:58 -08:00
180f07cd2d display total for fundraising bar 2024-12-04 05:35:34 -08:00
f94d5a1de5 Eliminate base_standard.html template and internalNavigate blocks
The base_standard.html template was an unnecessary level of template
inheritance.

Also removed unused `min` and `subtract` template tags.
2024-05-13 17:11:01 +10:00
3f03afccdc Fix typo 2024-03-21 13:54:49 +11:00
97bb006870 Move fundraiser calculations to model
This changes simplifies the template and adds correct pluralisation of
hours/hour remaining.
2024-03-21 13:20:30 +11:00
00a49ec2bc Display donation bar, noting it's results, for 1 week after end
The fundgoal section is now always included, but an if statement now
wraps the entire (partial) file, which will only generate any content
if it's not more than  one week after the fundraiser has ended.

Add an else that indicates these are results if it is past the end of
the fundraiser.
2024-01-16 06:07:33 -08:00
24ba383db6 Calculate hours when only one day is left.
This {% widthratio %} trick is something I found online that didn't
require a django-math module to work, but I would have rather written
something that:

  (b) Could have a different message when there is only one hour
      left: “less than one hour left” (i.e., tested if hours == 1)

  (c) Will say “hour” instead of “hours” when there is exactly 1 hour
      left.
2024-01-15 21:16:06 -08:00
49ab5aafb4 Rename "www" directory to "conservancy" 2023-10-25 13:01:21 +11:00