Code layout change.
[wolnelektury.git] / src / funding / templates / funding / includes / offer_status_more.html
1 {% load i18n %}
2
3 {% if offer.is_current %}
4         <p>
5             {% include "funding/snippets/any_remaining.html" %}
6         </p>
7 {% else %}
8     <p class="date">{% trans "Fundraiser span" %}: {{ offer.start }} – {{ offer.end }}</p>
9     {% if offer.is_win %}
10         <p>
11             {% if offer.book %}
12                 {% blocktrans with bu=offer.book.get_absolute_url bt=offer.book %}The book
13                 <a href="{{ bu }}">{{ bt }}</a> has been already published.{% endblocktrans %}
14             {% else %}
15                 {% if offer.redakcja_url %}
16                     {% blocktrans with r=offer.redakcja_url %}You can follow
17                     the work on the <a href="{{ r }}">Editorial Platform</a>.{% endblocktrans %}
18                 {% endif %}
19             {% endif %}
20         </p>
21     {% endif %}
22
23     {% if offer.remaining %}
24         <p>{% include "funding/snippets/any_remaining.html" %}</p>
25     {% endif %}
26 {% endif %}