From 3de53472cfa775042ae945fdf07f8bec643174bd Mon Sep 17 00:00:00 2001 From: Brett Smith Date: Fri, 22 Nov 2019 09:46:33 -0500 Subject: [PATCH] base: Fundraiser banner only shows days left when time is short. --- www/conservancy/templates/base_conservancy.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/www/conservancy/templates/base_conservancy.html b/www/conservancy/templates/base_conservancy.html index 99805998..03f2448a 100644 --- a/www/conservancy/templates/base_conservancy.html +++ b/www/conservancy/templates/base_conservancy.html @@ -82,8 +82,10 @@ Through today only, the {% elif sitefundgoal_timeleft.days == 1 %} Through tomorrow only, the - {% else %} + {% elif sitefundgoal_timeleft.days < 14 %} For only {{ sitefundgoal_timeleft.days }} more days, the + {% else %} + The {% endif %} next ${{ this_match_remaining|floatformat:0|intcomma }} of support we receive will be matched thanks to Private Internet Access and a group of generous donors, including {{ sitefundgoal.random_providers }}! Support Conservancy today! {% endif %}