Commit graph

6 commits

Author SHA1 Message Date
Brett Smith
67e64d3a6c base: Break out individual local context variables. 2019-11-22 09:46:07 -05:00
Brett Smith
742850eaf9 fundgoal: Display time remaining in progressbar. 2019-01-08 17:59:23 -05:00
Brett Smith
db40bda419 context_processors: Switch to the 2018 match. 2018-11-18 14:42:47 -05:00
Brett Smith
0add4633c1 base_conservancy: Activate progressbar for new match. 2017-11-27 13:08:21 -05:00
Brett Smith
4758b8bcfd local_context_processors: Add host_url.
This makes it easier for templates to generate a "single canonical URL" for
a resource, as in Open Graph metadata.
2017-11-07 09:17:11 -05:00
Bradley M. Kuhn
5c4cc1e2e1 Add sitefundgoal to top level view context.
The base template now has access to the fund-raising goal that will be
displayed site-wide.  The view here must provide it in the context for
access everywhere.

Furthermore, we need a local context processor to make sure it's in
context everywhere, and we have to make sure that context is properly
passed along.

This code is a bit cargo-culted in, based on what I read in various
places about adding the Request context.
2015-11-30 19:19:46 -08:00