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,11 +1,11 @@
{% load humanize %} {% 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="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">
{% if sitefundgoal1.days_remaining >= 0 %}
{% if sitefundgoal0.match_remaining <= 0 %} {% if sitefundgoal0.match_remaining <= 0 %}
{% if sitefundgoal1.days_remaining >= 0 %}
{% if sitefundgoal1.match_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! 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>!