From 76ef5019af409772229e3fa6a39701e96215de7c Mon Sep 17 00:00:00 2001 From: Daniel Pono Takamori Date: Wed, 14 Jan 2026 11:49:59 -0800 Subject: [PATCH] fix endifs and change formatting formatting removes additional raised on original bar also increase size of larger portion of match --- .../fundraiser_goal_banner_partial.html | 30 +++++++------------ conservancy/static/css/conservancy.css | 3 ++ 2 files changed, 14 insertions(+), 19 deletions(-) diff --git a/conservancy/fundgoal/templates/fundgoal/fundraiser_goal_banner_partial.html b/conservancy/fundgoal/templates/fundgoal/fundraiser_goal_banner_partial.html index 944ffdf2..ff4e1413 100644 --- a/conservancy/fundgoal/templates/fundgoal/fundraiser_goal_banner_partial.html +++ b/conservancy/fundgoal/templates/fundgoal/fundraiser_goal_banner_partial.html @@ -13,7 +13,7 @@ Thanks to so many donors, we met our largest match donation ever of $211,939. A generous anonymous donor has provided another $40,000 of matching funds. Give now to help us reach this stretch goal!
- OLD_ENDIF + {% endif %} {% if sitefundgoal1.days_remaining == 0 %} For the only the next {{ sitefundgoal1.hours_remaining }} hour{{ sitefundgoal1.hours_remaining|pluralize }}, the {% elif sitefundgoal1.days_remaining == 1 %} @@ -22,9 +22,9 @@ For only {{ sitefundgoal1.days_remaining }} more days, the {% else %} Until FIXME_DATE, the - OLD_ENDIF + {% endif %} next ${{ sitefundgoal1.match_remaining|floatformat:0|intcomma }} of support we receive will be matched! - OLD_ENDIF + {% endif %} {% else %} {# ELSE LEVEL 2.0 when (sitefundgoal1.days_remaining < 0) #} Thanks to all our donors who participated in our historic donation match challenge! Thanks to you, we raised our goal of $503,878 to support software freedom: @@ -33,10 +33,7 @@
{% if sitefundgoal1.match_remaining <= 0 %}
- ${{ sitefundgoal1.fundraiser_goal_amount|floatformat:0|intcomma }} fully matched! -
-
- ${{sitefundgoal1.match_exceeded_by|floatformat:0|intcomma }} additional
raised!
+ ${{ sitefundgoal1.fundraiser_goal_amount|floatformat:0|intcomma }} fully matched!
{% else %}
@@ -50,10 +47,7 @@
{% if sitefundgoal0.match_remaining <= 0 %}
- ${{ sitefundgoal0.fundraiser_goal_amount|floatformat:0|intcomma }} fully matched! -
-
- ${{sitefundgoal0.match_exceeded_by|floatformat:0|intcomma }} additional
raised!
+ ${{ sitefundgoal0.fundraiser_goal_amount|floatformat:0|intcomma }} fully matched!
{% else %}
@@ -61,13 +55,14 @@
${{ sitefundgoal0.match_remaining|floatformat:0|intcomma }} to go! + {% endif %}
- OLD_ENDIF
+ {% endif %} {% else %} {# ELSE LEVEL 1 when (sitefundgoal0.match_remaining > 0) #}