Some layout experiments.
[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 class="normal-text">
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 class="normal-text">
11         {% blocktrans with due=offer.due end=offer.end %}If the target is met
12         by {{ end }}, this book will be published by {{ due }}.{% endblocktrans %}
13     </p>
14     {% endif %}
15 {% else %}
16     {% if offer.is_win %}
17         <p class="normal-text">
18             {% trans "Full amount was successfully raised!" %}
19         </p>
20     {% else %}
21         <p class="normal-text">
22             {% trans "The amount needed was not raised." %}
23         </p>
24     {% endif %}
25 {% endif %}