Minor changes to logic

This commit is contained in:
Bradley Kuhn 2026-01-14 10:42:37 -08:00
parent 2b26d1efb2
commit f33fc80520

View file

@ -1,16 +1,16 @@
{% load humanize %}
{% if sitefundgoal1.days_remaining >= -22 %}{# i.e. 7 days over completion #}
{% if sitefundgoal1.days_remaining >= -22 or sitefundgoal0.days_remaining >= -22 %}{# i.e. 7 days over completion #}
<div class="fundraiser-top-text ph3 pt2 pb3 mb2 mb3-ns">
<div class="mw8 center ph2 ph4-ns">
<div class="mt2 mb3 tc">
{% if sitefundgoal1.days_remaining >= 0 %}
{% if sitefundgoal0.match_remaining <= 0 %}
{% if sitefundgoal1.days_remaining >= 0 %}
{% if sitefundgoal1.match_remaining <= 0 %}
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>!
{% else %}
Thanks to so many donors, we met <em>our largest match donation ever of <strong>$211,939 </strong>.
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 %}