website/conservancy
Bradley M. Kuhn 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
..
assignment Switch CCS upload, copyright assignment, FOSSY and podcast components to use path() 2023-11-27 19:40:06 +11:00
blog Simplify settings and move some standard settings into settings.py 2023-10-26 12:28:29 +11:00
ccs_upload Switch CCS upload, copyright assignment, FOSSY and podcast components to use path() 2023-11-27 19:40:06 +11:00
contacts Rename "www" directory to "conservancy" 2023-10-25 13:01:21 +11:00
contractpatch Rename "www" directory to "conservancy" 2023-10-25 13:01:21 +11:00
events Rename "www" directory to "conservancy" 2023-10-25 13:01:21 +11:00
fossy fossy: check UUID format in the URL routing to avoid unhandled exception 2023-11-22 13:58:20 +11:00
fundgoal Calculate hours when only one day is left. 2024-01-15 21:16:06 -08:00
news Simplify settings and move some standard settings into settings.py 2023-10-26 12:28:29 +11:00
podjango Rename "www" directory to "conservancy" 2023-10-25 13:01:21 +11:00
staff Rename "www" directory to "conservancy" 2023-10-25 13:01:21 +11:00
static Correct narrative text to match current situation & typo fixes 2024-01-07 19:19:34 -08:00
summit_registration Rename "www" directory to "conservancy" 2023-10-25 13:01:21 +11:00
supporter Rename "www" directory to "conservancy" 2023-10-25 13:01:21 +11:00
supporters Rename "www" directory to "conservancy" 2023-10-25 13:01:21 +11:00
templates fix ifixit link on sponsors page 2024-01-15 16:21:48 -08:00
usethesource usethesource: Simplify the promissory wording 2023-11-11 12:46:43 +11:00
worldmap Rename "www" directory to "conservancy" 2023-10-25 13:01:21 +11:00
__init__.py Remove CONSERVANCY_SECRET_KEY 2023-10-26 13:09:50 +11:00
bsoup.py Rename "www" directory to "conservancy" 2023-10-25 13:01:21 +11:00
feeds.py Rename "www" directory to "conservancy" 2023-10-25 13:01:21 +11:00
frontpage.py Rename "www" directory to "conservancy" 2023-10-25 13:01:21 +11:00
local_context_processors.py update fundraiser goal to cy2023-end-year-match 2023-11-20 14:13:20 -08:00
middleware.py Rename "www" directory to "conservancy" 2023-10-25 13:01:21 +11:00
settings.py Provide a default for DEBUG 2023-10-26 13:19:11 +11:00
sponsors.py Rename "www" directory to "conservancy" 2023-10-25 13:01:21 +11:00
urls.py Drop the unused /admin/doc/ route 2023-11-27 19:42:29 +11:00
wsgi.py Update wsgi.py to reflect directory structure changes 2023-10-25 16:28:57 +11:00