Not sure my endif count is right, so this my 500

This commit is contained in:
Bradley Kuhn 2026-01-14 10:32:31 -08:00
parent 8d75fdf851
commit c3aff1e73a

View file

@ -5,25 +5,30 @@
<div class="mw8 center ph2 ph4-ns"> <div class="mw8 center ph2 ph4-ns">
<div class="mt2 mb3 tc"> <div class="mt2 mb3 tc">
{% if sitefundgoal1.days_remaining >= 0 %} {% if sitefundgoal1.days_remaining >= 0 %}
{% if sitefundgoal0.match_remaining <= 0 %}
{% if sitefundgoal1.match_remaining <= 0 %} {% if sitefundgoal1.match_remaining <= 0 %}
Thanks to so many donors, we earned our full match! Thanks to so many donors, we earned our full original match donation &mdash; <em>as well as</em> our <strong>extended</strong> match!
Help us go further to stand up for software freedom &mdash; <a href="/sustainer">sign up now</a>! Help us go further to stand up for software freedom &mdash; <a href="/sustainer">sign up now</a>!
{% else %} {% else %}
Thanks to so many donors, we met <em>our largest match donation ever of <strong>$211,939 </strong>.
A generous anonymous donor has provided <em>another $40,000</em> of matching funds.
<a href="https://sfconservancy.org/sustainer/">Give now to help us</a> reach this stretch goal!<br/>
{% endif %}
{% if sitefundgoal1.days_remaining == 0 %} {% if sitefundgoal1.days_remaining == 0 %}
For the next {{ sitefundgoal1.hours_remaining }} hour{{ sitefundgoal1.hours_remaining|pluralize }} <strong>only</strong>, the For the <strongly>only</strong> the next {{ sitefundgoal1.hours_remaining }} hour{{ sitefundgoal1.hours_remaining|pluralize }}, the
{% elif sitefundgoal1.days_remaining == 1 %} {% elif sitefundgoal1.days_remaining == 1 %}
Help us reach our goal of <b>$503,878</b> this season to keep SFC going. Through tomorrow only, the Through tomorrow only, the
{% elif sitefundgoal1.days_remaining < 14 %} {% elif sitefundgoal1.days_remaining < 14 %}
Help us reach our goal of <b>$503,878</b> this season to keep SFC going. For only {{ sitefundgoal1.days_remaining }} more days, the For only {{ sitefundgoal1.days_remaining }} more days, the
{% else %} {% else %}
Help us reach our goal of <b>$503,878</b> this season to keep SFC going. Until January 15, the Until FIXME_DATE, the
{% endif %} {% endif %}
next <b>${{ sitefundgoal1.match_remaining|floatformat:0|intcomma }}</b> of <a href="/sustainer/">support we receive</a> will be matched! next <b>${{ sitefundgoal1.match_remaining|floatformat:0|intcomma }}</b> of <a href="/sustainer/">support we receive</a> will be matched!
{% endif %} {% endif %}
{% else %} {% else %}
Thanks to all our donors who participated in our Thanks to all our donors who participated in our
historic donation match challenge! Thanks to you, <a href="https://sfconservancy.org/blog/2025/jan/16/end-of-year-2024-fundraiser-a-massive-success/">we historic donation match challenge! Thanks to you, we raised our goal of <b>$503,878</b> to support software freedom:
raised more than $480k to support software freedom</a>: {% endif %}
{% endif %} {% endif %}
</div> </div>
@ -50,6 +55,7 @@
</div> </div>
{% endif %} {% endif %}
{% if sitefundgoal0.days_remaining >= -22 %}{# i.e. 7 days over completion #} {% if sitefundgoal0.days_remaining >= -22 %}{# i.e. 7 days over completion #}
{% if sitefundgoal0.match_remaining > 0 %}
<div class="fundraiser-top-text ph3 pt2 pb3 mb2 mb3-ns"> <div class="fundraiser-top-text ph3 pt2 pb3 mb2 mb3-ns">
<div class="mw8 center ph2 ph4-ns"> <div class="mw8 center ph2 ph4-ns">
<div class="mt2 mb3 tc"> <div class="mt2 mb3 tc">
@ -98,3 +104,4 @@
</div> </div>
</div> </div>
{% endif %} {% endif %}
{% endif %}