diff --git a/conservancy/fundgoal/templates/fundgoal/fundraiser_goal_banner_partial.html b/conservancy/fundgoal/templates/fundgoal/fundraiser_goal_banner_partial.html index cd882188..57e7a612 100644 --- a/conservancy/fundgoal/templates/fundgoal/fundraiser_goal_banner_partial.html +++ b/conservancy/fundgoal/templates/fundgoal/fundraiser_goal_banner_partial.html @@ -1,5 +1,54 @@ {% load humanize %} +{% if sitefundgoal1.days_remaining >= -22 %}{# i.e. 7 days over completion #} +
+
+
+ {% if sitefundgoal1.days_remaining >= 0 %} + {% if sitefundgoal1.match_remaining <= 0 %} + Thanks to so many donors, we earned our full match! + Help us go further to stand up for software freedom — sign up now! + {% else %} + {% if sitefundgoal1.days_remaining == 0 %} + For the next {{ sitefundgoal1.hours_remaining }} hour{{ sitefundgoal1.hours_remaining|pluralize }} only, the + {% elif sitefundgoal1.days_remaining == 1 %} + Help us reach our goal of $503,878 this season to keep SFC going. Through tomorrow only, the + {% elif sitefundgoal1.days_remaining < 14 %} + Help us reach our goal of $503,878 this season to keep SFC going. For only {{ sitefundgoal1.days_remaining }} more days, the + {% else %} + Help us reach our goal of $503,878 this season to keep SFC going. Until January 15, the + {% endif %} + next ${{ sitefundgoal1.match_remaining|floatformat:0|intcomma }} of support we receive will be matched! + {% endif %} + {% else %} + Thanks to all our donors who participated in our + historic donation match challenge! Thanks to you, we + raised more than $480k to support software freedom: + {% endif %} +
+ + +
+ {% if sitefundgoal1.match_remaining <= 0 %} +
+ ${{ sitefundgoal1.fundraiser_goal_amount|floatformat:0|intcomma }} fully matched! +
+
+ ${{sitefundgoal1.match_exceeded_by|floatformat:0|intcomma }} additional
raised!
+
+ {% else %} +
+ ${{ sitefundgoal1.fundraiser_so_far_amount|floatformat:0|intcomma }} matched! +
+
+ ${{ sitefundgoal1.match_remaining|floatformat:0|intcomma }} to go! +
+ {% endif %} +
+
+
+
+{% endif %} {% if sitefundgoal0.days_remaining >= -22 %}{# i.e. 7 days over completion #}