1 {% extends "base/base.html" %}
3 {% load pagination_tags %}
6 {% load build_absolute_uri from fnp_common %}
7 {% load ssi_include from ssify %}
10 {% block titleextra %}{{ object }}{% endblock %}
12 {% block ogimage %}{{ object.cover.url|build_absolute_uri:request }}{% endblock %}
14 {% block metadescription %}Wesprzyj kolejną publikację Wolnych Lektur!{% endblock %}
20 {% ssi_include 'funding_detail_bar' pk=object.pk %}
21 <div class="white-box">
22 <div class="funding-details-intro">
24 <img src="{% thumbnail object.cover "139x193" as thumb %}{{ thumb.url }}{% empty %}{{ object.cover.url }}{% endthumbnail %}"
25 alt="Cover" class="funding-cover" />
27 <div class="normal-text">
28 <h3>{% trans "Help free the book!" %}</h3>
29 {{ object.description|safe }}
30 {% ssi_include 'funding_status' pk=object.pk %}
31 <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. →</a>
32 {% ssi_include 'funding_status_more' pk=object.pk %}
33 <p><a href="{% url 'infopage' 'wesprzyj' %}">{% trans "Learn more" %}</a>.</p>
36 <div style="clear:both;"></div>
39 {% if object.is_current %}
40 <div class="normal-text">
41 <h3>{% trans "Support the publication" %}</h3>
42 <form action="" method="post">
44 {# FIXME after upgrade to django 1.9 use field_order #}
45 {% for field in form %}
46 {% if field.name != 'agree_newsletter' %}
48 <th>{{ field.label }}</th>
50 {{ field.errors }}{{ field }}
51 {% if field.help_text %}<br /><span class="helptext">{{ field.help_text }}</span>
60 <label>{{ form.agree_newsletter }} {{ form.agree_newsletter.label }}</label>
61 <br/><span class="helptext">{{ form.data_processing }}</span>
67 <button type="submit" style="border: none; background: none; cursor: pointer">
68 <img alt="{% trans 'Donate!' %}" src="{% static 'img/payu.png' %}" />
76 {% url 'funding_current' object.slug as current %}
77 <p class="normal-text">{% trans "Tell your friends!" %}</p>
78 <p class="share">{% share current _("Support Wolne Lektury!") "big" %}</p>
81 <p class="normal-text"><a href="{% url 'funding' %}">{% trans "See all fundraisers." %}</a></p>
84 <h2>{% trans "Supporters" %}:</h2>
86 <div class="white-box normal-text">
87 {% ssi_include 'funding_fundings' pk=object.pk page=page %}