Commit graph

9 commits

Author SHA1 Message Date
3a81d3042e 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
554b0c8fde 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
c39e201c58 display total for fundraising bar 2024-12-04 05:35:34 -08:00
783cdc6189
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
02ca52e2f0
Fix typo 2024-03-21 13:54:49 +11:00
79361cdf97
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
0680c58853 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
b4a2b9c613 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
ce6be591bd
Rename "www" directory to "conservancy" 2023-10-25 13:01:21 +11:00