{% extends "base.html" %}
{% load i18n %}
{% load fnp_share %}
+{% load polls_tags %}
-{% block titleextra %}{% trans "Thank you!" %}{% endblock %}
+{% block titleextra %}{% trans "Thank you for your support!" %}{% endblock %}
{% block body %}
{% trans "Thank you for your support!" %}
-{% url 'funding_current' as c %}
-<p>{% blocktrans %}Your support will appear on the <a href="{{ c }}">
-current fundraiser page</a> shortly.{% endblocktrans %}</p>
+{% if offer.is_win %}
+ <p>{% trans "Full amount was successfully raised!" %}</p>
+ <p>{% blocktrans with due=offer.due end=offer.end %}The fundraiser
+ ends on {{ end }}. The book will be published by {{ due }}.{% endblocktrans %}</p>
+{% else %}
+ <p>
+ {% blocktrans with b=offer.title %}Your donation will be spent on digitizing, compiling and
+ publishing the book {{ b }} in multiple formats. We will contact you if you qualify for perks.{% endblocktrans %}
+ </p>
+{% endif %}
-<p>{% trans "Tell your friends about the fundraiser!" %}</p>
+<p>{% include "funding/snippets/any_remaining.html" %}
-<p>{% share current _("I support Wolne Lektury.") %}</p>
+<a href="{% url 'infopage' 'wesprzyj' %}">{% trans "Learn more" %}</a>.</p>
+{% url 'funding_current' offer.slug as current %}
+<p><a href="{{ current }}">{% trans "Go back to the current fundraiser." %}</a></p>
+
+
+<h3>{% trans "Tell your friends!" %}</h3>
+<p class="share">{% share current _("I support Wolne Lektury.") "big" %}</p>
+
+{% if offer.poll %}
+ <h3>{% trans "Vote for a book for the next fundraiser" %}</h3>
+ {% poll offer.poll %}
+{% endif %}
</div>