Merge branch 'reflow'
[wolnelektury.git] / src / funding / templates / funding / includes / offer_status.html
1 {% load i18n %}
2
3 {% if offer.is_current %}
4     {% if offer.is_win %}
5         <p>
6             {% blocktrans with end=offer.end %}The fundraiser
7             ends on {{ end }}. The full amount has been successfully
8             raised, but you can still contribute and help liberate
9             more books.{% endblocktrans %}
10         </p>
11     {% else %}
12     <p>
13         <strong>{% blocktrans with target=offer.target|floatformat:-2 %}We need {{target}} zł to digitize it,
14         compile it and publish for free in multiple formats.{% endblocktrans %}</strong>
15     </p>
16     <p>
17         {% blocktrans with end=offer.end %}If we raise enough money before {{end}} we will
18         publish it and make it available for everyone.{% endblocktrans %}
19     </p>
20     {% endif %}
21 {% else %}
22     {% if offer.is_win %}
23         <p>
24             {% trans "Full amount was successfully raised!" %}
25         </p>
26     {% else %}
27         <p>
28             {% trans "The amount needed was not raised." %}
29         </p>
30     {% endif %}
31 {% endif %}