From 6af82de08db90f277d063802f415a73b6f43252d Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Mon, 15 Feb 2021 10:20:47 +0100 Subject: [PATCH] Remove current supporters target. --- src/club/templates/club/membership_form.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/club/templates/club/membership_form.html b/src/club/templates/club/membership_form.html index 04a3e109b..a46cfe2bc 100644 --- a/src/club/templates/club/membership_form.html +++ b/src/club/templates/club/membership_form.html @@ -34,8 +34,9 @@ {% chunk 'club_form_top' %} - {% club_monthly_since '2020-12-01' as supporters %} - {% club_monthly_missing_since '2020-12-01' 100 as missing_supporters %} + {% if supporters_target %} + {% club_monthly_since supporters_since as supporters %} + {% club_monthly_missing_since supporters_since supporters_target as missing_supporters %}

{% blocktrans %}Help us get 100 new Friends by the end of the school semester.{% endblocktrans %} {% blocktrans count supporters=supporters %} @@ -50,6 +51,7 @@ {% endblocktrans %}

 {{ supporters }}{{ missing_supporters }} 
+ {% endif %} {% include "club/payment_form.html" %} -- 2.20.1