From edcde9f05362250ab84b67343bae8110739830f2 Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Mon, 30 Nov 2015 07:43:42 -0800 Subject: [PATCH] Add text for site fundraiser to every page. By adding this text to the base template, we add this to every page on the site. --- .../templates/base_conservancy.html | 22 ++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/www/conservancy/templates/base_conservancy.html b/www/conservancy/templates/base_conservancy.html index e69f5745..1481f104 100644 --- a/www/conservancy/templates/base_conservancy.html +++ b/www/conservancy/templates/base_conservancy.html @@ -40,8 +40,28 @@ + - {% block outercontent %}
{% block content %}{% endblock %}
{% endblock %} +
+ Conservancy + needs {{ sitefundgoal.fundraiser_donation_count|intcomma }} Supporters to continue its basic community services & + {{ sitefundgoal.fundraiser_goal_amount|intcomma }} to + avoid hibernating its enforcement efforts! +{% if sitefundgoal.fundraiser_donation_count_disclose_threshold < 83 %} + The next {{ 83|subtract:sitefundgoal.fundraiser_donation_count_disclose_threshold }} supporters who sign up before Friday + will count twice thanks to an anonymous match donor! +{% endif %} + +
+ {{ sitefundgoal.fundraiser_so_far_amount|intcomma }} have joined so far +{% if sitefundgoal.fundraiser_donation_count_disclose_threshold > 0 %} +{% if sitefundgoal.fundraiser_donation_count_disclose_threshold < 83 %} + and match pledges reduced our 2,500 maximum need by {{ sitefundgoal.fundraiser_donation_count_disclose_threshold|intcomma }} +{% endif %} +{% endif %} +!
+
+ {% block outercontent %}
{% block content %}{% endblock %}
{% endblock %}

Main Page | Contact | Sponsors | Privacy Policy | RSS Feed

Follow Conservancy