1 {% load url from future %}
3 {% if state == "running" %}
4 <p class="normal-text">
5 {% blocktrans with due=offer.due end=offer.end %}If the target is met
6 by {{ end }}, this book will be published by {{ due }}.{% endblocktrans %}
8 <p class="normal-text">
9 {% url 'funding_wlfund' as url %}
10 {% blocktrans %}Any excessive money will be transfered to the
11 <a href="{{ url }}">Wolne Lektury Fund</a>.{% endblocktrans %}
13 {% elif state == "win" %}
15 <p class="normal-text">{% trans "See the published book:" %}
16 <a href="{{ offer.book.get_absolute_url }}">{{ offer.book }}</a>.</p>
18 <p class="normal-text">{% trans "Funding target has been met!" %}</p>
19 <p class="normal-text">{% trans "The book will be published by:" %} {{ offer.due }}.
20 {% if offer.redakcja_url %}
21 {% with url=offer.redakcja_url %}
22 {% blocktrans %}You can follow the work on the <a href="{{ url }}">Editorial Platform</a>.{% endblocktrans %}
27 {% elif state == "lose" %}
28 <p class="normal-text">{% trans "Funding target has not been met." %}
30 {% url 'funding_wlfund' as url %}
31 {% blocktrans %}Collected funds have been transfered to the
32 <a href="{{ url }}">Wolne Lektury Fund</a>.{% endblocktrans %}