Status update emails.
[wolnelektury.git] / apps / funding / templates / funding / thanks.html
old mode 100755 (executable)
new mode 100644 (file)
index 2863c69..efff200
@@ -1,8 +1,9 @@
 {% extends "base.html" %}
 {% load i18n %}
-{% load funding_tags %}
+{% 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!" %}
 
-<p><a href="{{ object.get_absolute_url }}">{% trans "Go back to the current fundraiser." %}</a></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>{% include "funding/snippets/any_remaining.html" %}
+
+<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>