File diff 7fe9c07cebc4 → 208dfe268191
www/conservancy/templates/base_conservancy.html
Show inline comments
...
 
@@ -108,16 +108,16 @@
 
{% if sitefundgoal and sitefundgoal.fundraiser_so_far_amount and datetime_now < sitefundgoal.fundraiser_endtime %}
 
{% with this_match_goal=sitefundgoal.fundraiser_goal_amount this_match_so_far=sitefundgoal.fundraiser_so_far_amount %}
 
{% with this_match_remaining=this_match_goal|subtract:this_match_so_far sitefundgoal_timeleft=sitefundgoal.fundraiser_endtime|subtract:datetime_now %}
 
    <div class="fundraiser-top-text ph3 pt2 pb3">
 
      <div class="mw8 center ph2 ph4-ns">
 
      <div class="mt2 mb3 tc">
 
          <a href="/img/sfc_holiday_card_video_done_smaller.mp4">🎄<img style="height:2em; width:auto;" src="/img/sfc_holiday_card_2021.jpg" alt="Happy Holidays from Software Freedom Conservancy!"></a>Happy Holidays!
 
        {% if this_match_remaining <= 0 %}
 
          Thanks to {{ sitegoal.fundraiser_donation_count|intcomma }} Sustainers we earned our full match!
 
          Help us go further to stand up for software freedom &mdash; <a href="/sustainer">sign up now</a>!
 
          <a href="/img/sfc_holiday_card_video_done_smaller.mp4">🎄<img style="height:2em; width:auto;" src="/img/sfc_holiday_card_2021.jpg" alt="Happy Holidays from Software Freedom Conservancy!"></a>Happy Holidays!
 
        {% else %}
 
          {% if sitefundgoal_timeleft.total_seconds <= 0 %}
 
            The
 
          {% elif sitefundgoal_timeleft.days == 0 %}
 
            Through today only, the
 
          {% elif sitefundgoal_timeleft.days == 1 %}