Different handling of current payment view,
[wolnelektury.git] / apps / funding / templates / funding / thanks.html
1 {% extends "base.html" %}
2 {% load i18n %}
3 {% load fnp_share %}
4
5 {% block titleextra %}{% trans "Thank you for your support!" %}{% endblock %}
6
7 {% block body %}
8
9 <h1>{% trans "Thank you!" %}</h1>
10 <div class="white-box normal-text">
11
12 {% trans "Thank you for your support!" %}
13
14 {% if offer.is_win %}
15     <p>{% trans "Full amount was successfully raised!" %}</p>
16
17     <p>{% blocktrans with due=offer.due end=offer.end %}The fundraiser
18             ends on {{ end }}. The book will be published by {{ due }}.{% endblocktrans %}</p>
19 {% else %}
20     <p>{% blocktrans with b=offer.title due=offer.due end=offer.end %}Your
21     donation will be spent on publishing
22     the book {{ b }} if the full amount is raised by {{ end }}.
23     The book will then be published by {{ due }}.{% endblocktrans %}</p>
24 {% endif %}
25
26 <p>{% include "funding/snippets/any_remaining.html" %}
27
28 <a href="{% url 'infopage' 'wesprzyj' %}">{% trans "Learn more" %}</a>.</p>
29
30 {% url 'funding_current' offer.slug as current %}
31 <p><a href="{{ current }}">{% trans "Go back to the current fundraiser." %}</a></p>
32
33
34 <p>{% trans "Tell your friends!" %}</p>
35 <p class="share">{% share current _("I support Wolne Lektury.") "big" %}</p>
36
37 </div>
38
39
40 {% endblock %}