Merge branch 'master' into funding
[wolnelektury.git] / apps / funding / templates / funding / tags / offer_status.html
1 {% load i18n %}
2
3 {% if offer.is_current %}
4     {% if offer.is_win %}
5         <p>
6             {% blocktrans with due=offer.due end=offer.end %}The fundraiser
7             ends on {{ end }}. The book will be published by {{ due }}.{% endblocktrans %}
8         </p>
9     {% else %}
10     <p>
11         <strong>{% blocktrans with target=offer.target|floatformat %}W need {{target}} zł to digitize it,
12         compile it and publish for free in multiple formats.{% endblocktrans %}</strong>
13     </p>
14     <p>
15         {% blocktrans with end=offer.end %}If we raise enought money before {{end}} we will
16         publish it and make it available for everyone.{% endblocktrans %}
17     </p>
18     {% endif %}
19 {% else %}
20     {% if offer.is_win %}
21         <p>
22             {% trans "Full amount was successfully raised!" %}
23         </p>
24     {% else %}
25         <p>
26             {% trans "The amount needed was not raised." %}
27         </p>
28     {% endif %}
29 {% endif %}