Add 1% ad to funding.
[wolnelektury.git] / apps / funding / templates / funding / thanks.html
old mode 100755 (executable)
new mode 100644 (file)
index 72b7c29..676ea48
@@ -1,6 +1,7 @@
 {% extends "base.html" %}
 {% load i18n %}
 {% load fnp_share %}
+{% load polls_tags %}
 
 {% block titleextra %}{% trans "Thank you for your support!" %}{% endblock %}
 
 <h1>{% trans "Thank you!" %}</h1>
 <div class="white-box normal-text">
 
-{% trans "Thank you for your support!" %}
+<a href='//nowoczesnapolska.org.pl/pomoz-nam/wesprzyj-nas/' target="_blank" style='float:right;border:1px solid #ddd;padding: 1em;margin:0 0 1em 1em;background:#eee;'><img src='//nowoczesnapolska.org.pl/wp-content/themes/koed/annoy/procent.png' alt='1%' style='float:left;margin-right: 1em;margin-top:.2em;'>Możesz też przekazać<br/>1% podatku na rozwój biblioteki. &rarr;</a>
+
+<p>{% trans "Thank you for your support!" %}</p>
+<p>{% blocktrans %}We will contact you if you qualify for perks.{% 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>
+    <p>{% blocktrans with b=offer.title %}Your donation will be spent on digitizing, compiling and
+    publishing the book {{ b }} in multiple formats.{% endblocktrans %}</p>
+
 {% else %}
-    <p>{% blocktrans with b=object.title due=offer.due end=offer.end %}Your
-    donation will be spent on publishing
-    the book {{ b }} if the full amount is raised by {{ end }}.
-    The book will then be published by {{ due }}.{% endblocktrans %}</p>
+
+    <p>{% blocktrans with b=offer.title %}If the full amount needed is raised,
+    your donation will be spent on digitizing, compiling and
+    publishing the book {{ b }} in multiple formats.{% endblocktrans %}</p>
+
 {% endif %}
 
-<p>{% include "funding/snippets/any_remaining.html" %}</p>
 
-{% url 'funding_current' as current %}
-<p><a href="{{ current }}">{% trans "Go back to the current fundraiser." %}</a></p>
+<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>
 
-<p>{% trans "Tell your friends!" %}</p>
 
-<p>{% share current _("I support Wolne Lektury.") %}</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>