fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4edeaae
)
Remove current supporters target.
author
Radek Czajka
<rczajka@rczajka.pl>
Mon, 15 Feb 2021 09:20:47 +0000
(10:20 +0100)
committer
Radek Czajka
<rczajka@rczajka.pl>
Mon, 15 Feb 2021 09:20:47 +0000
(10:20 +0100)
src/club/templates/club/membership_form.html
patch
|
blob
|
history
diff --git
a/src/club/templates/club/membership_form.html
b/src/club/templates/club/membership_form.html
index
04a3e10
..
a46cfe2
100644
(file)
--- a/
src/club/templates/club/membership_form.html
+++ b/
src/club/templates/club/membership_form.html
@@
-34,8
+34,9
@@
{% chunk 'club_form_top' %}
{% 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 %}
<p>
{% blocktrans %}Help us get 100 new Friends by the end of the school semester.{% endblocktrans %}
{% blocktrans count supporters=supporters %}
<p>
{% blocktrans %}Help us get 100 new Friends by the end of the school semester.{% endblocktrans %}
{% blocktrans count supporters=supporters %}
@@
-50,6
+51,7
@@
{% endblocktrans %}
</p>
<div class="funding" style="background: none;"><div class="description"><div class="progress" style="text-align: center; background-size: {{ supporters }}% 1px;"><span class="piece progress-collected"> {{ supporters }}</span><span class="piece progress-target">{{ missing_supporters }} </span><div style="clear: both"></div></div></div></div>
{% endblocktrans %}
</p>
<div class="funding" style="background: none;"><div class="description"><div class="progress" style="text-align: center; background-size: {{ supporters }}% 1px;"><span class="piece progress-collected"> {{ supporters }}</span><span class="piece progress-target">{{ missing_supporters }} </span><div style="clear: both"></div></div></div></div>
+ {% endif %}
{% include "club/payment_form.html" %}
{% include "club/payment_form.html" %}