diff --git a/www/conservancy/templates/base_conservancy.html b/www/conservancy/templates/base_conservancy.html index 1ef69bac767026b69a74d9c4bf272f489fd2b1e4..4b4fcb01b1e77d2cb78d1cae31f116b4b0e688cc 100644 --- a/www/conservancy/templates/base_conservancy.html +++ b/www/conservancy/templates/base_conservancy.html @@ -42,34 +42,47 @@ + +{% comment %} +FUNDRAISER VARIABLES AND CONSTANTS GUIDE + +fundraiser_goal_amount: The highest number of Supporters we want +fundraiser_so_far_amount: The number of Supporters we have +fundraiser_donation_count: The "minimum" number of Supporters we want (not currently used) +fundraiser_donation_count_disclose_threshold: The number of Supporters that have been matched + +When we started the fundraiser, we had 660 Supporters matched. +PIA will match up to 416. +660+416==1076, so we use that constant to see if our match is done. +{% endcomment %} +
-{% if sitefundgoal.fundraiser_so_far_amount < sitefundgoal.fundraiser_donation_count %} - Conservancy - needs {{ sitefundgoal.fundraiser_donation_count|intcomma }} Supporters to continue its basic community services & - {{ sitefundgoal.fundraiser_goal_amount|intcomma }} to - avoid hibernating its compliance efforts in 2017. -{% else %} - - Let's stand up for software freedom together! - We still need - {{ sitefundgoal.fundraiser_goal_amount|subtract:sitefundgoal.fundraiser_donation_count_disclose_threshold|subtract:sitefundgoal.fundraiser_so_far_amount|intcomma }} more Supporters to maintain our full range of activities in 2017. Supporters who join or renew by January 15 will count twice, thanks to Private Internet Access! -{% endif %} -{% if sitefundgoal.fundraiser_donation_count_disclose_threshold < 632 %} -The next {{ 632|subtract:sitefundgoal.fundraiser_donation_count_disclose_threshold }} supporters -who sign up by the end of Feb. 29th (anywhere on earth) will count twice, thanks to Private Internet Access! -{% endif %} - + + Let's stand up for software freedom together! + {% if sitefundgoal.fundraiser_goal_amount > (sitefundgoal.fundraiser_donation_count_disclose_threshold + sitefundgoal.fundraiser_so_far_amount) %} + We still need + {{ sitefundgoal.fundraiser_goal_amount|subtract:sitefundgoal.fundraiser_donation_count_disclose_threshold|subtract:sitefundgoal.fundraiser_so_far_amount|intcomma }} + more Supporters to maintain our full range of activities in 2017. + {% endif %} + {% if sitefundgoal.fundraiser_donation_count_disclose_threshold > 1076 %} + 416 Supporters were matched + {% else %} + The next {% 1076|subtract:sitefundgoal.fundraiser_donation_count_disclose_threshold|intcomma %} Supporters who join or renew by January 15 will count twice, + {% endif %} + thanks to Private Internet Access! +